Skip to content

Commit e347ef9

Browse files
elmuzNicolasHug
andauthored
fix: typo in fakedata.py (#9131)
Co-authored-by: Nicolas Hug <nh.nicolas.hug@gmail.com>
1 parent 9235ee1 commit e347ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/datasets/fakedata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class FakeData(VisionDataset):
1111
1212
Args:
1313
size (int, optional): Size of the dataset. Default: 1000 images
14-
image_size(tuple, optional): Size if the returned images. Default: (3, 224, 224)
14+
image_size(tuple, optional): Size of the returned images. Default: (3, 224, 224)
1515
num_classes(int, optional): Number of classes in the dataset. Default: 10
1616
transform (callable, optional): A function/transform that takes in a PIL image
1717
and returns a transformed version. E.g, ``transforms.RandomCrop``

0 commit comments

Comments
 (0)