Created
December 20, 2020 23:12
-
-
Save roclark/1482b6131202f9c662fa51a4a418f764 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def print_results(result, iteration): | |
table = [['IMPALA', | |
iteration, | |
result['timesteps_total'], | |
round(result['episode_reward_max'], 3), | |
round(result['episode_reward_min'], 3), | |
round(result['episode_reward_mean'], 3)]] | |
print(tabulate(table, | |
headers=['Agent', | |
'Iteration', | |
'Steps', | |
'Max Reward', | |
'Min Reward', | |
'Mean Reward'], | |
tablefmt='psql', | |
showindex="never")) | |
print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment