我正在尝试使用 Keras 训练神经网络模型,并且需要帮助解决此错误,当我尝试运行我的训练模型时会发生此错误:
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, 19990 batches). You may need to use the repeat() function when building your dataset.
代码可以在这里找到:
https://colab.research.google.com/drive/1hgQoo7Oz6UPIzQQ4ELwRUuPPNxaOAqeh?usp=sharing