Skip to content

Commit

Permalink
fix: set optuna logging level to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed May 7, 2024
1 parent 7b7d1c4 commit 0796fef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/invert4geom/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def optuna_parallel(
msg = "Missing optional dependency 'optuna' required for optimization."
raise ImportError(msg)

optuna.logging.set_verbosity(optuna.logging.WARNING)

# load study metadata from storage
study = optuna.load_study(storage=study_storage, study_name=study_name)

Expand Down

0 comments on commit 0796fef

Please sign in to comment.