Skip to content

Commit 3ce7ded

Browse files
dhbradshawsoumith
authored andcommitted
Clarify that root specifies download target folder (#434)
1 parent a42f9d9 commit 3ce7ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/datasets/cifar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CIFAR10(data.Dataset):
1818
1919
Args:
2020
root (string): Root directory of dataset where directory
21-
``cifar-10-batches-py`` exists.
21+
``cifar-10-batches-py`` exists or will be saved to if download is set to True.
2222
train (bool, optional): If True, creates dataset from training set, otherwise
2323
creates from test set.
2424
transform (callable, optional): A function/transform that takes in an PIL image

0 commit comments

Comments
 (0)