Skip to content
Advertisement

Why does Keras run only 5 epochs out of 25?

I have uninstalled Keras and Tensorflow and installed them both using

JavaScript

But even after, I still have this strange thing that it’s only 5 epochs that are running:

enter image description here

I cannot track when this situation occurred, but it used to run all of the epochs. Here is my code:

JavaScript

I also use

JavaScript

Please direct me.

Advertisement

Answer

Try replacing the steps_per_epoch = 25 and the steps_per_epoch = 25 with just batch_size = 25.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement