loading fully trained brain (a brain who finished training) and then evaluating it with brain.evaluate. will cause a crash when using hpopt context but not reporting in test stage #2358
Labels
bug
Something isn't working
Describe the bug
I used the finetuning tutorial to add orion to my code.
i use hp context at the start of the code.
I trained a model and it works well.
the probelm is when i run the script again and it uses the trained model now with hpopt disabled. i don't report objective during the test stage (beacuse i don't want to).
this means that i get a crash when i try to just evaluate a model since it can't find the key.
it trys to report (to orion) when i exit the context but hpopt is false.
Expected behaviour
this should not crash and should just work as a normal recipe.
To Reproduce
yaml
some code
Environment Details
using latest version from develop from git.
Relevant Log Output
Additional Context
balanced_error_rate is the objective i use during training.
setting
is probably the problem he since
setting
fixes the issue. but i would like to make sure this doesn't affect something else.
The text was updated successfully, but these errors were encountered: