Number of batches in training and validation #7584
ajinkyaambatwar
started this conversation in
General
Replies: 1 comment
-
The top progress bar is actually train + val (the whole epoch loop) so your output is correct! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I have a custom map-style dataLoader function for my application. Please excuse the indentation below.
Now as it can be seen, in the
__len__
, I have used dummy numbers. This is for my own experimentation. I am using a batch size of 32.This is my training and validation dataloader build inside
LightningModule
classI am expecting 20 batches for training(return len of 640 for batch size of 32) and 5 for validation(return len of 160 for batch size of 32). But during training, I prints
The validation size is correct. But I can't understand the reason behind 25 training batches here.
Am I missing something?
Thank you!!
Beta Was this translation helpful? Give feedback.
All reactions