03 Pytorch Computer Vision #1376
Unanswered
ZaidKhan-git
asked this question in
Q&A
Replies: 1 comment
|
train_features_batch, train_labels_batch = next(iter(train_dataloader))A for train_features_batch, train_labels_batch in train_dataloader:
breakYou only need to call |
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.
I am confused how does
next(iter(train_dataloader))returns train_features_batch and train_labels_batch ?Also if dataloader already returns an iterable, then why are we making it iterable again ? I am bit confused here.
All reactions