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:
anrp
2026-01-25 13:18:23 +00:00
committed by GitHub
parent ebc22c299e
commit 451db0b76e
+1
View File
@@ -546,6 +546,7 @@ def run():
raise TrialPruned()
study = optuna.create_study(
study_name="heretic",
sampler=TPESampler(
n_startup_trials=settings.n_startup_trials,
n_ei_candidates=128,