RuntimeError: Study.stop
is supposed to be invoked inside an objective function or a callback
#4121
Labels
bug
Issue/PR about behavior that is broken. Not for typos/examples/CI/test but for Optuna itself.
Expected behavior
optuna: 3.0.3 python: 3.8
when I try the example below, runtimeError is occured. But if I change the line while i < 9 to while i < 8 or a number less than 9 it works fine. It does not make sense, because there does have 9 permutations.
Environment
Error messages, stack traces, or logs
Steps to reproduce
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: