Closed contramundum53 closed 2 years ago
I privately discuss above with @contramundum53 and @sile. As a result, we have decided to generate a log in our own format for the completed trials in this PR. The reason are
_log_completed_trial
, which is a private method of optuna.We reverted changes about _optuna_logger
and made them a separate issue (#20).
Several bugs were present in
kurobako/solver/optuna.py
that resulted in errors when used with nontrivial pruners.trial.last_step
is undefined whentrial
is not aFrozenTrial
.self._study._log_completed_trial
requries aFrozenTrial
, but aTrial
is passedThese bugs are fixed in this PR.