Skip to content

Commit

Permalink
Update mettagrid_env.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daphnedemekas authored Jan 23, 2025
1 parent 677fb75 commit 07e8840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mettagrid/mettagrid_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def process_episode_stats(self, infos: Dict[str, Any]):
})
stats = self._c_env.get_episode_stats()

infos["episode_rewards"] = 1000 * episode_rewards / self._env_cfg.game.max_steps
infos["episode_rewards"] = episode_rewards
infos["agent_raw"] = stats["agent"]
infos["game"] = stats["game"]
infos["agent"] = {}
Expand Down

0 comments on commit 07e8840

Please sign in to comment.