Keras 建立多站点LSTM

Keras 建立多站点LSTM,keras,deep-learning,lstm,recurrent-neural-network,Keras,Deep Learning,Lstm,Recurrent Neural Network,我已经这样设置了我的数据 time 1: [location1, location2] [temp1 1, temp2 1] time 2: [location1, location2] [temp1 2, temp2 2] 显然,它看起来并不完全像这样,只是为了展示它是如何设置的。当我把它输入到我的LSTM中时,它会说“valueError:用序列设置数组元素”。对设置有什么建议吗?如果有帮助的话,我可以发布更多的代码 下面我们来看看x训练输入的第一个值是什么样子的 [array([arra

我已经这样设置了我的数据

time 1: [location1, location2] [temp1 1, temp2 1]
time 2: [location1, location2] [temp1 2, temp2 2]
显然,它看起来并不完全像这样,只是为了展示它是如何设置的。当我把它输入到我的LSTM中时,它会说“valueError:用序列设置数组元素”。对设置有什么建议吗?如果有帮助的话,我可以发布更多的代码

下面我们来看看x训练输入的第一个值是什么样子的

[array([array([0.69793787, 0.65924992, 0.7340775 , 0.6900613 , 0.71091108,
        0.70743612])], dtype=object)
有六个位置,所以有六个温度