Using latest optuna and running training results in multiple warnings:
The use ofoptuna.structs.TrialPrunedis deprecated. Please useoptuna.exceptions.TrialPrunedinstead
The following is a simple fix. in file utils\hyperparams_opt.py, change line 176
raise optuna.structs.TrialPruned()
with:
raise optuna.exceptions.TrialPruned()
Using latest optuna and running training results in multiple warnings:
The use of
optuna.structs.TrialPrunedis deprecated. Please use
optuna.exceptions.TrialPrunedinstead
The following is a simple fix. in file utils\hyperparams_opt.py, change line 176
raise optuna.structs.TrialPruned()
with:raise optuna.exceptions.TrialPruned()