bojone/seq2seq

运行错误

OldMy opened this issue · 0 comments

OldMy commented

File "seq2seq_train.py", line 370, in
callbacks=[evaluator])
File "/data/zhu/.conda/envs/py27/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/data/zhu/.conda/envs/py27/lib/python2.7/site-packages/keras/engine/training.py", line 1418, in fit_generator
initial_epoch=initial_epoch)
File "/data/zhu/.conda/envs/py27/lib/python2.7/site-packages/keras/engine/training_generator.py", line 181, in fit_generator
generator_output = next(output_generator)
File "/data/zhu/.conda/envs/py27/lib/python2.7/site-packages/keras/utils/data_utils.py", line 709, in get
six.reraise(*sys.exc_info())
File "/data/zhu/.conda/envs/py27/lib/python2.7/site-packages/keras/utils/data_utils.py", line 685, in get
inputs = self.queue.get(block=True).get()
File "/data/zhu/.conda/envs/py27/lib/python2.7/multiprocessing/pool.py", line 567, in get
raise self._value
TypeError: 'encoding' is an invalid keyword argument for this function

苏神,能看一下错误嘛(python2.7 keras 2.2.4 tensorflow1.8)