我创建了Keras模型。然后我使用了一个函数来绘制模型的架构图。它创建了png文件,如下所示。在
创建模型的代码:
model = Sequential()
model.add(LSTM(50, input_shape=(train_X.shape[1], train_X.shape[2])))
model.add(Dense(1, activation='linear'))
model.compile(loss='mae', optimizer='adam', metrics=[self.coeff_determination])
创建建筑png图像的行:
^{pr2}$这是我得到的图像:
问题是图顶部的大数字意味着什么。在
最初的回答是here。检查此链接:https://github.com/keras-team/keras/issues/10638
在keras/发动机中/顺序.py-注释掉以下代码:
相关问题 更多 >
编程相关推荐