【发布时间】:2020-05-11 02:06:02
【问题描述】:
在这里,我给出了 28 列和 +1000 行的 test_input 训练有素的模型应该接受它,但我遇到了形状兼容性错误
这是我的代码:
my_data = genfromtxt('test_rgb.csv', delimiter=',',skip_header=1)
test_data=my_data[0:,1:-1]
for test_row in test_data:
predictions = model.predict(test_row)
print(predictions)
【问题讨论】:
标签: python numpy tensorflow keras neural-network