NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://stackoverflow.com
Your issue may already be reported!
Also, please search on the issue tracker before creating one.
Issue Description
Expected Behavior
In case the epoch is not finished and hence N==0, we should raise a warning to the user but exit the function without the error otherwise its wasted func_eval_time even if the configuration performed well.
Current Behavior
When N==0 there is an error which leads to wasted func_eval_time as well as marking a configuration as crashed when it could have been good.
Possible Solution
Check if N==0 and raise a warning rather than the error.
Error message
ZeroDivisionError: float division by zero
Your Local environment
- Operating System: Ubuntu, version: 20.04
- Python, version: 3.8
- Outputs of
pip freeze or conda list
Make sure to add all the information needed to understand the bug so that someone can help.
If the info is missing, we'll add the 'Needs more information' label and close the issue until there is enough information.
NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://stackoverflow.com
Your issue may already be reported!
Also, please search on the issue tracker before creating one.
Issue Description
When Issue Happens
When running
test_train_pipeline_with_runtime(check test run here), I getZeroDivisionError: float division by zeroat this line.Steps To Reproduce
test_train_pipeline_with_runtimeonreg_cocktail, I think we see the issue there because the default configuration is different and larger than that indevelopment.Expected Behavior
In case the epoch is not finished and hence
N==0, we should raise a warning to the user but exit the function without the error otherwise its wastedfunc_eval_timeeven if the configuration performed well.Current Behavior
When
N==0there is an error which leads to wastedfunc_eval_timeas well as marking a configuration as crashed when it could have been good.Possible Solution
Check if N==0 and raise a warning rather than the error.
Error message
Your Local environment
pip freezeorconda listMake sure to add all the information needed to understand the bug so that someone can help.
If the info is missing, we'll add the 'Needs more information' label and close the issue until there is enough information.