From c9a2a19f654f9b814963965eab5f0be79d3f2838 Mon Sep 17 00:00:00 2001 From: elmuz <9587977+elmuz@users.noreply.github.com> Date: Mon, 30 Jun 2025 01:31:02 +0200 Subject: [PATCH] fix: typo in fakedata.py --- torchvision/datasets/fakedata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchvision/datasets/fakedata.py b/torchvision/datasets/fakedata.py index 4f2343100a6..bcb413cdd32 100644 --- a/torchvision/datasets/fakedata.py +++ b/torchvision/datasets/fakedata.py @@ -11,7 +11,7 @@ class FakeData(VisionDataset): Args: size (int, optional): Size of the dataset. Default: 1000 images - image_size(tuple, optional): Size if the returned images. Default: (3, 224, 224) + image_size(tuple, optional): Size of the returned images. Default: (3, 224, 224) num_classes(int, optional): Number of classes in the dataset. Default: 10 transform (callable, optional): A function/transform that takes in a PIL image and returns a transformed version. E.g, ``transforms.RandomCrop``