fix: specify study name (#119)
If we don't, optuna will generate a UUID for a name, which will never be found when loading as it is a "different" study. https://optuna.readthedocs.io/en/stable/reference/generated/optuna.study.create_study.html#optuna.study.create_study
This commit is contained in:
@@ -546,6 +546,7 @@ def run():
|
|||||||
raise TrialPruned()
|
raise TrialPruned()
|
||||||
|
|
||||||
study = optuna.create_study(
|
study = optuna.create_study(
|
||||||
|
study_name="heretic",
|
||||||
sampler=TPESampler(
|
sampler=TPESampler(
|
||||||
n_startup_trials=settings.n_startup_trials,
|
n_startup_trials=settings.n_startup_trials,
|
||||||
n_ei_candidates=128,
|
n_ei_candidates=128,
|
||||||
|
|||||||
Reference in New Issue
Block a user