1 回答
TA贡献1818条经验 获得超8个赞
如果您的数据维度正确,则您的每个输入(过滤器)中都会缺少一个额外的维度。
rnn.fit(
[
x_training["act"].reshape(episode_length, 1),
x_training["b0"].reshape(episode_length, 1),
x_training["b1"].reshape(episode_length, 1),
x_training["b2"].reshape(episode_length, 1),
x_training["b3"].reshape(episode_length, 1),
x_training["class_id"].reshape(episode_length, 1),
x_training["score"].reshape(episode_length, 1)
],
[
y_training["b_box"]
],
validation_data=(
[
x_test["act"].reshape(episode_length, 1),
x_test["b0"].reshape(episode_length, 1),
x_test["b1"].reshape(episode_length, 1),
x_test["b2"].reshape(episode_length, 1),
x_test["b3"].reshape(episode_length, 1),
x_test["class_id"].reshape(episode_length, 1),
x_test["score"].reshape(episode_length, 1)
],
[
y_test["b_box"]
]
),
epochs=1,
batch_size=3200
)
添加回答
举报