Traceback (most recent call last):
File "TUL_test1.py", line 305, in <module>
pred_y_test = np.array(classifier2.predict(cls_x_test))
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 1169, in predict
steps=steps)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training_arrays.py", line 294, in predict_loop
batch_outs = f(ins_batch)
File "/usr/local/lib/python3.5/dist-packages/keras/backend/tensorflow_backend.py", line 2715, in __call__
return self._call(inputs)
File "/usr/local/lib/python3.5/dist-packages/keras/backend/tensorflow_backend.py", line 2675, in _call
fetched = self._callable_fn(*array_vals)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1439, in __call__
run_metadata_ptr)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/errors_impl.py", line 528, in __exit__
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[28,126] = 16 is not in [0, 10)
[[{{node emb_category_1/embedding_lookup}}]]