ValueError: Error when checking target: expected dense_24 to have shape (1,) but got array with shape (77,) When trianing an LSTM network

后端 未结 0 1546
半阙折子戏
半阙折子戏 2021-01-20 05:53

I was trying to establish a LSTM neural network,the train and test dataset is like below:

x_train=np.array(train)
x_train=x_train.reshape(51,77,6)
y_train=lis         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题