报错处: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
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-