在第一个时期训练了一段时间后,我的网络会因为这个错误而在GRU形状的隐藏层中崩溃: Current run is terminating due to exception: Expected hiddenprojects/python/mldl/NeuralMusicClassification/modeling/model.py", line 113, in forward
x, h1 = self.gru</
我有一个使用批量训练进行训练的网络模型。一旦它被训练,我想要预测单个示例的输出。shape (15,1)的输出数据,并调用函数:模型进行训练verbose=0)ValueError: Shape mismatch: x has 5 rows but z has 1 rows
我看到的一种解决方案是将“虚拟数据”添加到预测值中,然而,在</