Skip to content

Commit

Permalink
fix: record bugdet in runhistory
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEimer committed May 16, 2024
1 parent 601adb4 commit d46c636
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hydra_plugins/hypersweeper/hypersweeper_sweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ def record_iteration(self, performances, configs, budgets):
for i in range(len(configs)):
self.history["configs"].append(configs[i])
self.history["performances"].append(performances[i])
self.history["budgets"].append(budgets[i])
if budgets[i] is not None:
self.history["budgets"].append(budgets[i])
else:
self.history["budgets"].append(self.max_budget)
self.iteration += 1

if self.wandb_project:
Expand Down

0 comments on commit d46c636

Please sign in to comment.