WARNING:tensorflow:Your input ran out of data; interrupting training. repeat()

来源:4-5 tf.data读取csv文件并与tf.keras结合使用

Hior247

2021-03-15

WARNING:tensorflow:Your input ran out of data; interrupting training. Make sure that your dataset or generator can generate at least steps_per_epoch * epochs batches (in this case, 34800 batches). You may need to use the repeat() function when building your dataset.

写回答

1回答

正十七

2021-03-21

就是数据用超了,可以考虑把steps_per_epoch设小一些解决:

https://stackoverflow.com/questions/59864408/tensorflowyour-input-ran-out-of-data

1
3
慕仰0191732
没事了 已经找到问题了 谢谢老师
2021-11-12
共3条回复

Google老师亲授 TensorFlow2.0 入门到进阶

Tensorflow2.0实战—以实战促理论的方式学习深度学习

1849 学习 · 896 问题

查看课程