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回答
-
就是数据用超了,可以考虑把steps_per_epoch设小一些解决:
https://stackoverflow.com/questions/59864408/tensorflowyour-input-ran-out-of-data
132021-11-12
相似问题
什么样子的数据集需要repeat()呢
回答 1
数据集&repeat问题
回答 1