我是keras的新用户,并试图实现LSTM模型。对于测试,我声明模型如下,但由于输入维度的不同,它失败了。虽然我在这个网站上发现了类似的问题,但我自己找不到自己的错误。ValueError: expected lstm_input_4 to have 3 dimensions, but got arraywith shape (300, 100)
我的</e
()model.add(LSTM(input_shape = (EMB_SIZE,), input_dim=EMB_SIZE, output_dim=HIDDEN_RNN, return_sequencesTypeError: ('Bad input argument to theano function with name &qu
以下代码是我如何预处理我的数据的: WINDOW_SIZE = 8 # Previous 7 days are inputs and the following day (8th) is the expected>> (32, 7) (32,)# >>> (32, 7) (32,)# >>> (32, 7) (32,) 这是我的模型: inputs = In