You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(...)
Found 0 images belonging to 0 classes.
Traceback (most recent call last):
File "svhn_classifier.py", line 174, in <module>
predict(FLAGS.model, FLAGS.img_path, FLAGS.batch_size)
File "svhn_classifier.py", line 159, in predict
score = model.evaluate_generator(validation_generator)
File "/Users/bambrozi/Downloads/SVHN-Classifier/env/lib/python3.7/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/Users/bambrozi/Downloads/SVHN-Classifier/env/lib/python3.7/site-packages/keras/engine/training.py", line 1472, in evaluate_generator
verbose=verbose)
File "/Users/bambrozi/Downloads/SVHN-Classifier/env/lib/python3.7/site-packages/keras/engine/training_generator.py", line 301, in evaluate_generator
raise ValueError('`steps=None` is only valid for a generator'
ValueError: `steps=None` is only valid for a generator based on the `keras.utils.Sequence` class. Please specify `steps` or use the `keras.utils.Sequence` class.
The text was updated successfully, but these errors were encountered:
Tried:
and got:
The text was updated successfully, but these errors were encountered: