Skip to content

Commit

Permalink
update to remove "optuna" warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienT01 committed Oct 24, 2024
1 parent 289e34f commit 0468d8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rlberry/manager/experiment_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,9 @@ def eval_agents(
def clear_output_dir(self):
"""Delete output_dir and all its data."""
if self.optuna_study:
optuna.delete_study(self.optuna_study.study_name, self.optuna_storage_url)
optuna.delete_study(
study_name=self.optuna_study.study_name, storage=self.optuna_storage_url
)
try:
shutil.rmtree(self.output_dir_)
except FileNotFoundError:
Expand Down

0 comments on commit 0468d8e

Please sign in to comment.