Skip to content

Commit

Permalink
will this fix obs in
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Dec 6, 2024
1 parent 1ff7b38 commit 8842940
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pokemonred_puffer/sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def launch_sweep(
):
console = Console()
params = sweep_config_to_params(base_config, sweep_config)
params_keys = {p.name for p in params}
for param in params:
print(f"Checking param: {param}")
if isinstance(param.space, LogitSpace):
Expand Down Expand Up @@ -256,7 +257,7 @@ def launch_sweep(
input={
k: v["value"]
for k, v in json.loads(run["config"]).items()
if k != "wandb_version"
if k in params_keys
},
# TODO: try out other stats like required count
output=summary_metrics["environment/stats/required_count"],
Expand Down

0 comments on commit 8842940

Please sign in to comment.