报错处:loss,accuracy = model.evaluate(testX,testPredict);
testX为ndarray(48,1,1);
testPredict为ndarray(48,1);
不知道为什么报错TypeError: 'numpy.float64' object is not iterable,求解决,另外想知道model.evaluate(a,b)中的a和b的维度有什么限制吗?
已采纳
Keras中model.evaluate()报错TypeError: 'numpy.float64' object is not iterable
- 写回答
- 好问题 提建议
- 追加酬金
- 关注问题
- 分享
- 邀请回答