Traceback (most recent call last):


 "train_mspeech.py", line 53, in <module>

ms.TrainModel(datapath, epoch = 500, batch_size = 20, save_step = 500)


 "/home/sky-ai/xwt/ASRT_SpeechRecognition/SpeechModel261_p.py", line 200, in TrainModel

self._model.fit_generator(yielddatas, save_step)


 "/home/sky-ai/.local/lib/python3.5/site-packages/keras/legacy/interfaces.py", line 91, in wrapper

return func(*args, **kwargs)


 "/home/sky-ai/.local/lib/python3.5/site-packages/keras/engine/training.py", line 1418, in fit_generator

initial_epoch=initial_epoch)


 "/home/sky-ai/.local/lib/python3.5/site-packages/keras/engine/training_generator.py", line 217, in fit_generator

class_weight=class_weight)


 "/home/sky-ai/.local/lib/python3.5/site-packages/keras/engine/training.py", line 1217, in train_on_batch

outputs = self.train_function(ins)


 "/home/sky-ai/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2697, in __call__

if hasattr(get_session(), '_make_callable_from_options'):


 "/home/sky-ai/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 199, in get_session

[tf.is_variable_initialized(v) for v in candidate_vars])


 "/home/sky-ai/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 929, in run

run_metadata_ptr)


 "/home/sky-ai/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1152, in _run

feed_dict_tensor, options, run_metadata)


 "/home/sky-ai/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run

run_metadata)


 "/home/sky-ai/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation tower_0/model_2/ctc/ToInt32: Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available.

Traceback (most recent call last):


 "/home/kluger/projects/test_example/test.py", line 33, in <module>

p = model.predict([np.zeros((1,1)), np.zeros((1,1,1))])


 "/home/kluger/.anaconda/envs/keras/lib/python3.6/site-packages/Keras-2.1.3-py3.6.egg/keras/engine/training.py", line 1800, in predict


 "/home/kluger/.anaconda/envs/keras/lib/python3.6/site-packages/Keras-2.1.3-py3.6.egg/keras/engine/training.py", line 1301, in _predict_loop


 "/home/kluger/.anaconda/envs/keras/lib/python3.6/site-packages/Keras-2.1.3-py3.6.egg/keras/backend/tensorflow_backend.py", line 2475, in __call__


 "/home/kluger/.anaconda/envs/keras/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 895, in run

run_metadata_ptr)


 "/home/kluger/.anaconda/envs/keras/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1128, in _run

feed_dict_tensor, options, run_metadata)


 "/home/kluger/.anaconda/envs/keras/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1344, in _do_run

options, run_metadata)


 "/home/kluger/.anaconda/envs/keras/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1363, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'input_3' with dtype float and shape [?,1]
