-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
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
“raise NotImplementedError”,“ raise StopIteration(e)” #47
Comments
I get the same error |
Same issue:
System Env:
Exception raised from
The result of |
Downgrade
|
@zarzen I already successfully install keras==2.0.8 , but still have the same problem. |
@milumilule2 what's your |
@zarzen |
@milumilule2 I am using |
@zarzen I met with this annoying issue and my Env is python3.6. Do I have to change to python2? |
@simonsayshi you can have a try. I forgot the reason for choosing python2. But downgrade |
@zarzen my keras is already downgraded :( that's wired ... |
@simonsayshi |
@zarzen my tensorflow version is 1.2.1.. :( |
Hello, thank you for your code.
When I try to run the train.py to do a demo, but I get some error below.
lr: 0.010000
Epoch 1/250
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/keras/utils/data_utils.py", line 513, in get
inputs = self.queue.get(block=True).get()
File "/usr/lib/python3.4/multiprocessing/pool.py", line 599, in get
raise self._value
File "/usr/lib/python3.4/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/usr/local/lib/python3.4/dist-packages/keras/utils/data_utils.py", line 379, in get_index
return ds[i]
File "/usr/local/lib/python3.4/dist-packages/keras/preprocessing/image.py", line 759, in getitem
return self._get_batches_of_transformed_samples(index_array)
File "/usr/local/lib/python3.4/dist-packages/keras/preprocessing/image.py", line 805, in _get_batches_of_transformed_samples
raise NotImplementedError
NotImplementedError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/s405/pengcheng/project/Keras-FCN/train.py", line 231, in
label_suffix=label_suffix, ignore_label=ignore_label, label_cval=label_cval)
File "/home/s405/pengcheng/project/Keras-FCN/train.py", line 163, in train
class_weight=class_weight
File "/usr/local/lib/python3.4/dist-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/keras/engine/training.py", line 2046, in fit_generator
generator_output = next(output_generator)
File "/usr/local/lib/python3.4/dist-packages/keras/utils/data_utils.py", line 518, in get
raise StopIteration(e)
StopIteration
I don't know how to fix this problem, can you give me some suggestions?
The text was updated successfully, but these errors were encountered: