keras-team / keras

Deep Learning for humans
http://keras.io/
Apache License 2.0
61.06k stars 19.35k forks source link

Progress bar crash when empty dataset #19687

Open stridge-cruxml opened 1 week ago

stridge-cruxml commented 1 week ago

I accidentally filtered out all examples and tried to evaluate on an empty dataset. Was getting a confusing crash in the progress bar code as self.target == 0.

See here

sachinprasadhs commented 1 week ago

Could you please share an example to reproduce the reported behavior. Thanks