Error when checking input: expected embedding_1_input to have shape (4,) but got array with shape (1,)
问题 I use pretrained embedding vectors for my keras model. Before I did it everything worked and now I get this error: ValueError: Error when checking input: expected embedding_1_input to have shape (4,) but got array with shape (1,) Maybe somebody can help me, what I do wrong here. I am not sure if I did correct model.fit and model.evaluate. Maybe there is a problem? import csv import numpy as np np.random.seed(42) from keras.models import Sequential, Model from keras.layers import * from random