我正在尝试使用 tflearn 和 tensorflow 构建多列深度神经网络(MDNN)。本文解释了 MDNN 。我正在努力解决的问题是如何将两个或多个输入加在一起以输入到 tensorflow。
对于单个列,我有:
network = tflearn.input_data(shape=[None, image_shape, image_shape, 3])
和
model.fit(X_input, y_train, n_epoch=50, shuffle=True,
validation_set=(X_test_norm, y_test),
show_metric=True, batch_size=240, run_id='traffic_cnn2')
X_input
形状在哪里(31367, 32, 32, 3)
。我对 numpy、tensorflow 和 tflearn 很陌生。现在真正的困难在于如何为 tflearn 指定多个输入。
任何帮助是极大的赞赏。