How are the number of steps per epoch calculated? #90
-
Hey everyone. I have a general question about training. I'm talking about the output line: the ...the total number of steps (in this example: 782) seems to be all over the place from model to model for me, sometimes it can be as low as 16, and in this case 782. I was just curious if anyone could definitively explain how this number of steps per epoch is calculated? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@acids-ircam I also found this confusing. It can be very helpful if you can answer! Thanks! |
Beta Was this translation helpful? Give feedback.
-
1 epoch = the model has "seen" the entirety of the dataset once |
Beta Was this translation helpful? Give feedback.
1 epoch = the model has "seen" the entirety of the dataset once
there are
dataset_length / batch_size
steps per epoch. One must take into consideration the split between validation and training sets to get the exact numbers.