JihongJu / keras-fcn

A playable implementation of Fully Convolutional Networks with Keras.
MIT License
202 stars 85 forks source link

StopIteration #34

Open biyoner opened 6 years ago

biyoner commented 6 years ago

Hi ,thanks for your code! I have a problem. Can you help me ?

Loading weights... Epoch 1/100 Traceback (most recent call last): File "/home/ilab/biyoner/sementic_seg/keras-fcn/voc2011/train.py", line 88, in callbacks=[early_stopper, csv_logger, checkpointer, nan_terminator]) File "/home/ilab/biyoner/keras/local/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 87, in wrapper return func(*args, **kwargs) File "/home/ilab/biyoner/keras/local/lib/python2.7/site-packages/keras/engine/training.py", line 2115, in fit_generator generator_output = next(output_generator) File "/home/ilab/biyoner/keras/local/lib/python2.7/site-packages/keras/utils/data_utils.py", line 557, in get six.raise_from(StopIteration(e), e) File "/home/ilab/biyoner/keras/local/lib/python2.7/site-packages/six.py", line 737, in raise_from raise value StopIteration

Process finished with exit code 1

Thanks.

kangmengmeng commented 5 years ago

@biyoner I have the same problem,could you tell me how do you solved it?

kangmengmeng commented 5 years ago

可能是keras的版本问题,我把keras从2.2.4降到2.0.8之后没有报错了。