Progress bar in training #19120
Unanswered
AzmiHaider92
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
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,
This is an example of a progress bar training on a dataset with 723 samples and batch size of 16:
Epoch 2: 49%|████▉ | 22/45 [00:26<00:27, 1.18s/it, loss=0.0981, v_num=m49m]
The number 45 is the number of batches in one epoch (723/16=45)
However, sometimes when I run the same code it shows 723 instead of 45.
Why is that? it's the same code with the same resources.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions