Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Bettini <[email protected]>
  • Loading branch information
matteobettini committed Oct 6, 2023
1 parent e764b02 commit 3f43db6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmarl/experiment/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ def log_evaluation(
).mean(0)
to_log.update(
{
"eval/episode_reward_min": mean_group_return.min().item(),
"eval/episode_reward_mean": mean_group_return.mean().item(),
"eval/episode_reward_max": mean_group_return.max().item(),
"eval/episode_len_mean": sum(td.batch_size[0] for td in rollouts)
"eval/reward/episode_reward_min": mean_group_return.min().item(),
"eval/reward/episode_reward_mean": mean_group_return.mean().item(),
"eval/reward/episode_reward_max": mean_group_return.max().item(),
"eval/reward/episode_len_mean": sum(td.batch_size[0] for td in rollouts)
/ len(rollouts),
}
)
Expand Down

0 comments on commit 3f43db6

Please sign in to comment.