We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StopIteration Traceback (most recent call last) in () 4 validation_data =cc2 , 5 validation_steps = 364400// batch_size, ----> 6 callbacks =[earlystop,checkpoint,tensorboard] 7 )
2 frames /usr/local/lib/python3.6/dist-packages/keras/engine/training_generator.py in fit_generator(model, generator, steps_per_epoch, epochs, verbose, callbacks, validation_data, validation_steps, class_weight, max_queue_size, workers, use_multiprocessing, shuffle, initial_epoch) 179 batch_index = 0 180 while steps_done < steps_per_epoch: --> 181 generator_output = next(output_generator) 182 183 if not hasattr(generator_output, 'len'):
StopIteration: 请问,这个要如何解决?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当我执行下面这句话时
res = model.fit_generator(cc1,
steps_per_epoch =3279601// batch_size,
epochs = 100,
validation_data =cc2 ,
validation_steps = 364400// batch_size,
callbacks =[earlystop,checkpoint,tensorboard],
verbose=1
)
出现如下错误:
Epoch 1/100
StopIteration Traceback (most recent call last)
in ()
4 validation_data =cc2 ,
5 validation_steps = 364400// batch_size,
----> 6 callbacks =[earlystop,checkpoint,tensorboard]
7 )
2 frames
/usr/local/lib/python3.6/dist-packages/keras/engine/training_generator.py in fit_generator(model, generator, steps_per_epoch, epochs, verbose, callbacks, validation_data, validation_steps, class_weight, max_queue_size, workers, use_multiprocessing, shuffle, initial_epoch)
179 batch_index = 0
180 while steps_done < steps_per_epoch:
--> 181 generator_output = next(output_generator)
182
183 if not hasattr(generator_output, 'len'):
StopIteration:
请问,这个要如何解决?
The text was updated successfully, but these errors were encountered: