Description
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.
- I'm submitting a ...
- bug report
Issue Description
-
When Issue Happens
When runningtest_train_pipeline_with_runtime
(check test run here), I getZeroDivisionError: float division by zero
at this line. -
Steps To Reproduce
- Run
test_train_pipeline_with_runtime
onreg_cocktail
, I think we see the issue there because the default configuration is different and larger than that indevelopment
.
- Run
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
orconda 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.