Skip to content

Commit

Permalink
fix: output dict key outcome -> result
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriCat committed Dec 22, 2022
1 parent 875313d commit 50dcefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handyrl/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def evaluate_mp(env, agents, critic, env_args, args_patterns, num_process, num_g
finished_cnt += 1
continue
pat_idx, agent_ids, results = ret
outcome = results.get('outcome')
outcome = results.get('result')
if outcome is not None:
for idx, p in enumerate(env.players()):
agent_id = agent_ids[idx]
Expand Down

0 comments on commit 50dcefd

Please sign in to comment.