Continuation from previous question: Tensorflow - TypeError: 'int' object is not iterable
My training data is a list of lists each comprised of 1000 floats. F
You'd better use this, it is because of the uncompatible version of keras
from keras import backend as K X_train1 = K.cast_to_floatx(X_train) y_train1 = K.cast_to_floatx(y_train)