在我的Keras模型中,我不知道应该输入什么作为输入层的形状。该模型在具有12288个样本的1080个向量上进行训练。我有以下输入形状:Y_train shape: (6, 1080)Y_test shapeinput: expected input_10 to have shape (12288,) but got array with shape (1080,)
在再次查看文档后,我尝试
我得到了错误Input 0 is incompatible with layer lstm_16: expected ndim=3, found ndim=2,代码如下:regressor = Sequential()
#Dropout regularization: drops out unnecessary data, so we are not shifting huge amounts of dat