Getting error when i use validation_steps = 4, batch size is 32 in both and steps per epoch are also 7 in both val gen and train gen

: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, 4 batches). You may need to use the repeat() function when building your dataset.
7/7 [==============================] - 1s 135ms/step - loss: 0.2054 - acc: 0.9292 - val_loss: 0.8625 - val_acc: 0.6071

Hey @codingblocksml5,
use values such that, number of samples/batches * batch size = total size of training data. Similarly do this for validation data.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.