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
hoangziet
changed the title
[BUG] - <title> **TypeError** when using `len(train_dataloader.dataset) in Quickstart PyTorch tutorial
[BUG] - <title> TypeError when using len(train_dataloader.dataset) in Quickstart PyTorch tutorial
Jan 10, 2025
Add Link
https://pytorch.org/tutorials/beginner/basics/quickstart_tutorial.html
Describe the bug
When using len(train_dataloader.dataset) to get the dataset size in the Google Colab notebook from Quickstart PyTorch, I encountered the following error:
I think we can use another way to take the size we need:
The text was updated successfully, but these errors were encountered: