Skip to content

Commit

Permalink
checking if runners work
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidandos committed Oct 24, 2023
1 parent 64cbf18 commit 86c8345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pax/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def runner_setup(args, env, agents, save_dir, logger):
return IPDITMEvalRunner(agents, env, save_dir, args)

if args.runner in ["evo", "evo_mixed_lr", "evo_hardstop", "evo_mixed_payoff", "evo_mixed_ipd_payoff",
"evo_mixed_payoff_gen", "evo_mixed_payoff_input", "evo_mixed_payoff_pred", "evo_scanned", "evo_mixed_payoff_only_opp", "multishaper_evo"]:
"evo_mixed_payoff_gen", "evo_mixed_payoff_input", "evo_scanned", "evo_mixed_payoff_only_opp", "multishaper_evo"]:
agent1, _ = agents
algo = args.es.algo
strategies = {"CMA_ES", "OpenES", "PGPE", "SimpleGA"}
Expand Down
2 changes: 2 additions & 0 deletions pax/runners/runner_evo_scanned.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class EvoScannedRunner:
It composes together agents, watchers, and the environment.
Within the init, we declare vmaps and pmaps for training.
The environment provided must conform to a meta-environment.
This runner also scans over the evolutionary step, which leads to longer compilation time,
shorter run time and logging is not possible.
Args:
agents (Tuple[agents]):
The set of agents that will run in the experiment. Note, ordering is
Expand Down

0 comments on commit 86c8345

Please sign in to comment.