Skip to content

Commit

Permalink
Fix sweep bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Suarez committed Feb 17, 2025
1 parent c327d92 commit d13630e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def sweep(args, env_name, make_env, policy_cls, rnn_cls):
np.random.seed(seed)
torch.manual_seed(seed)

info = sweep.suggest(args['sweep'])
info = sweep.suggest(args)
score, cost, _, _ = train(args, make_env, policy_cls, rnn_cls, target_metric)
sweep.observe(score, cost)
print('Score:', score, 'Cost:', cost)
Expand Down

0 comments on commit d13630e

Please sign in to comment.