- 博客(1)
- 收藏
- 关注
原创 keras train_on_batch方法报错
查看源代码才知道,是因变量格式不正规,运行时通过得了fit,但是被train_on_batch打回去了,而且抛出一个莫名其妙的错误。得出结论:如果报类似的错,检查训练数据的格式。具体为: AttributeError: 'float' object has no attribute 'shape'。
2023-05-10 18:53:49 167 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人