I'm Trying to do text Classification with tensorflow.keras.layers.Embedding
and Glove.
when I run the code:
model.add(Embedding(len(word_index) + 1,
100,
weights=[embedding_matrix],
input_length=MAX_LENGTH,
trainable=False))
I get the error :
TypeError: Parameter to MergeFrom() must be instance of same class: expected TensorShapeProto got TensorShapeProto.
My TensorFlow ver: 1.14.0 I'm using Win-64