There was an error while loading. Please reload this page.
transforms
OxfordIIITPet
1 parent bf735b8 commit 9521981Copy full SHA for 9521981
torchvision/datasets/oxford_iiit_pet.py
@@ -27,6 +27,8 @@ class OxfordIIITPet(VisionDataset):
27
transform (callable, optional): A function/transform that takes in a PIL image and returns a transformed
28
version. E.g, ``transforms.RandomCrop``.
29
target_transform (callable, optional): A function/transform that takes in the target and transforms it.
30
+ transforms (callable, optional): A function/transform that takes input sample
31
+ and its target as entry and returns a transformed version.
32
download (bool, optional): If True, downloads the dataset from the internet and puts it into
33
``root/oxford-iiit-pet``. If dataset is already downloaded, it is not downloaded again.
34
"""
0 commit comments