Decoder_target_data由decoder_input_data的一个时间步长抵消。据我所知,数据的格式是正确的,但在运行model.fit时我得到:
Input 0 of layer "lstm" is incompatible with the layer: expected ndim=3, foundndim=4.
我想预测这个序列是如何继续的。我有一个由数组组成的start_xy数组,顺序为start_x和start_y:例如: 1、2.4、3.8,而对于end_xy则是相同的。sequence[0],sequence[1]] end = [order,sequence[2],sequence[3]verbose=2) ValueError: Input 0 of layer sequential is incom
训练特征,形状(1032,5,5,122880),进入LSTM层。这将产生"ValueError: Input 0与图层lstm_16不兼容:预期的ndim=3,找到的ndim=2“5x5x122880是训练样本的瓶颈特征
model =告诉我,在通过LSTM层运行它们之前,我应该重塑训练瓶颈特性。final_model.add(LSTM(2,input_sha