Skip to content

Commit 984b937

Browse files
authored
Merge branch 'master' into reorganize_production_tutorials
2 parents 900ead9 + afad2e5 commit 984b937

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

beginner_source/blitz/cifar10_tutorial.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
########################################################################
6363
# The output of torchvision datasets are PILImage images of range [0, 1].
6464
# We transform them to Tensors of normalized range [-1, 1].
65+
# .. note::
66+
# If running on Windows and you get a BrokenPipeError, try setting
67+
# the num_worker of torch.utils.data.DataLoader() to 0.
6568

6669
transform = transforms.Compose(
6770
[transforms.ToTensor(),

0 commit comments

Comments
 (0)