Skip to content

Commit 60bf138

Browse files
committed
fixed correct next data for 09_dataloader
1 parent f8317c3 commit 60bf138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

09_dataloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __len__(self):
6666
# convert to an iterator and look at one random sample
6767
dataiter = iter(train_loader)
6868
data = dataiter.next()
69-
features, labels = first_data
69+
features, labels = data
7070
print(features, labels)
7171

7272
# Dummy Training loop

0 commit comments

Comments
 (0)