Steps_per_epoch and validation_steps parameters in model.fit

I know that steps_per_epoch*batch_size of training = #images and its similar to the validation_steps (correct me if I am wrong)
BUT,
I noticed sometimes we specify these two parameters in the model.fit and sometimes we don’t. What happens if we do not set these two parameters? Will the model.fit choose the best steps for us and run all the images?

Thanks

Have you tried running by specifying just the epochs argument?