mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
chore: bug fixes
This commit is contained in:
@@ -56,7 +56,7 @@ def run_single(cfg: dict) -> dict:
|
||||
"id": cfg["id"],
|
||||
"config": cfg,
|
||||
"total_reward": total_reward,
|
||||
"avg_reward": total_reward / steps,
|
||||
"avg_reward": total_reward / steps if steps > 0 else 0.0,
|
||||
"steps": steps,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user