You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calculating the total steps, shouldn't we use number of batches * epoch size ? In this case, it would be self.total_steps = (len(train_loader.dataset) // tb_size) * ab_size instead of self.total_steps = (len(train_loader.dataset) // tb_size) // ab_size.
When calculating the total steps, shouldn't we use
number of batches * epoch size
? In this case, it would beself.total_steps = (len(train_loader.dataset) // tb_size) * ab_size
instead ofself.total_steps = (len(train_loader.dataset) // tb_size) // ab_size
.Please fix me if anywhere is wrong.
https://pytorchlightning.github.io/lightning-tutorials/notebooks/lightning_examples/text-transformers.html
cc @Borda @rohitgr7
The text was updated successfully, but these errors were encountered: