Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
87f1521f
Unverified
Commit
87f1521f
authored
Jan 15, 2024
by
anthony-cabacungan
Committed by
GitHub
Jan 15, 2024
Browse files
Fixed typos (#8208)
parent
be519351
Changes
39
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
24 additions
and
24 deletions
+24
-24
torchvision/datasets/lsun.py
torchvision/datasets/lsun.py
+1
-1
torchvision/datasets/mnist.py
torchvision/datasets/mnist.py
+5
-5
torchvision/datasets/moving_mnist.py
torchvision/datasets/moving_mnist.py
+1
-1
torchvision/datasets/omniglot.py
torchvision/datasets/omniglot.py
+1
-1
torchvision/datasets/oxford_iiit_pet.py
torchvision/datasets/oxford_iiit_pet.py
+1
-1
torchvision/datasets/pcam.py
torchvision/datasets/pcam.py
+1
-1
torchvision/datasets/phototour.py
torchvision/datasets/phototour.py
+1
-1
torchvision/datasets/places365.py
torchvision/datasets/places365.py
+1
-1
torchvision/datasets/rendered_sst2.py
torchvision/datasets/rendered_sst2.py
+1
-1
torchvision/datasets/semeion.py
torchvision/datasets/semeion.py
+1
-1
torchvision/datasets/stanford_cars.py
torchvision/datasets/stanford_cars.py
+1
-1
torchvision/datasets/stl10.py
torchvision/datasets/stl10.py
+1
-1
torchvision/datasets/sun397.py
torchvision/datasets/sun397.py
+1
-1
torchvision/datasets/svhn.py
torchvision/datasets/svhn.py
+1
-1
torchvision/datasets/ucf101.py
torchvision/datasets/ucf101.py
+1
-1
torchvision/datasets/usps.py
torchvision/datasets/usps.py
+1
-1
torchvision/datasets/vision.py
torchvision/datasets/vision.py
+1
-1
torchvision/datasets/voc.py
torchvision/datasets/voc.py
+2
-2
torchvision/datasets/widerface.py
torchvision/datasets/widerface.py
+1
-1
No files found.
torchvision/datasets/lsun.py
View file @
87f1521f
...
...
@@ -63,7 +63,7 @@ class LSUN(VisionDataset):
root (string): Root directory for the database files.
classes (string or list): One of {'train', 'val', 'test'} or a list of
categories to load. e,g. ['bedroom_train', 'church_outdoor_train'].
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/mnist.py
View file @
87f1521f
...
...
@@ -27,7 +27,7 @@ class MNIST(VisionDataset):
download (bool, optional): If True, downloads the dataset from the internet and
puts it in root directory. If dataset is already downloaded, it is not
downloaded again.
transform (callable, optional): A function/transform that takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
@@ -210,7 +210,7 @@ class FashionMNIST(MNIST):
download (bool, optional): If True, downloads the dataset from the internet and
puts it in root directory. If dataset is already downloaded, it is not
downloaded again.
transform (callable, optional): A function/transform that takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
@@ -238,7 +238,7 @@ class KMNIST(MNIST):
download (bool, optional): If True, downloads the dataset from the internet and
puts it in root directory. If dataset is already downloaded, it is not
downloaded again.
transform (callable, optional): A function/transform that takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
@@ -269,7 +269,7 @@ class EMNIST(MNIST):
download (bool, optional): If True, downloads the dataset from the internet and
puts it in root directory. If dataset is already downloaded, it is not
downloaded again.
transform (callable, optional): A function/transform that takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
@@ -360,7 +360,7 @@ class QMNIST(MNIST):
the internet and puts it in root directory. If dataset is
already downloaded, it is not downloaded again.
transform (callable, optional): A function/transform that
takes in a
n
PIL image and returns a transformed
takes in a PIL image and returns a transformed
version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform
that takes in the target and transforms it.
...
...
torchvision/datasets/moving_mnist.py
View file @
87f1521f
...
...
@@ -17,7 +17,7 @@ class MovingMNIST(VisionDataset):
split_ratio (int, optional): The split ratio of number of frames. If ``split="train"``, the first split
frames ``data[:, :split_ratio]`` is returned. If ``split="test"``, the last split frames ``data[:, split_ratio:]``
is returned. If ``split=None``, this parameter is ignored and the all frames data is returned.
transform (callable, optional): A function/transform that takes in a
n
torch Tensor
transform (callable, optional): A function/transform that takes in a torch Tensor
and returns a transformed version. E.g, ``transforms.RandomCrop``
download (bool, optional): If true, downloads the dataset from the internet and
puts it in root directory. If dataset is already downloaded, it is not
...
...
torchvision/datasets/omniglot.py
View file @
87f1521f
...
...
@@ -15,7 +15,7 @@ class Omniglot(VisionDataset):
``omniglot-py`` exists.
background (bool, optional): If True, creates dataset from the "background" set, otherwise
creates from the "evaluation" set. This terminology is defined by the authors.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/oxford_iiit_pet.py
View file @
87f1521f
...
...
@@ -23,7 +23,7 @@ class OxfordIIITPet(VisionDataset):
If empty, ``None`` will be returned as target.
transform (callable, optional): A function/transform that
takes in a PIL image and returns a transformed
transform (callable, optional): A function/transform that takes in a PIL image and returns a transformed
version. E.g, ``transforms.RandomCrop``.
target_transform (callable, optional): A function/transform that takes in the target and transforms it.
download (bool, optional): If True, downloads the dataset from the internet and puts it into
...
...
torchvision/datasets/pcam.py
View file @
87f1521f
...
...
@@ -20,7 +20,7 @@ class PCAM(VisionDataset):
Args:
root (string): Root directory of the dataset.
split (string, optional): The dataset split, supports ``"train"`` (default), ``"test"`` or ``"val"``.
transform (callable, optional): A function/transform that
takes in a PIL image and returns a transformed
transform (callable, optional): A function/transform that takes in a PIL image and returns a transformed
version. E.g, ``transforms.RandomCrop``.
target_transform (callable, optional): A function/transform that takes in the target and transforms it.
download (bool, optional): If True, downloads the dataset from the internet and puts it into ``root/pcam``. If
...
...
torchvision/datasets/phototour.py
View file @
87f1521f
...
...
@@ -26,7 +26,7 @@ class PhotoTour(VisionDataset):
Args:
root (string): Root directory where images are.
name (string): Name of the dataset to load.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version.
download (bool, optional): If true, downloads the dataset from the internet and
puts it in root directory. If dataset is already downloaded, it is not
...
...
torchvision/datasets/places365.py
View file @
87f1521f
...
...
@@ -19,7 +19,7 @@ class Places365(VisionDataset):
high resolution ones.
download (bool, optional): If ``True``, downloads the dataset components and places them in ``root``. Already
downloaded archives are not downloaded again.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/rendered_sst2.py
View file @
87f1521f
...
...
@@ -22,7 +22,7 @@ class RenderedSST2(VisionDataset):
Args:
root (string): Root directory of the dataset.
split (string, optional): The dataset split, supports ``"train"`` (default), `"val"` and ``"test"``.
transform (callable, optional): A function/transform that
takes in a
n
PIL image and returns a transformed
transform (callable, optional): A function/transform that takes in a PIL image and returns a transformed
version. E.g, ``transforms.RandomCrop``.
target_transform (callable, optional): A function/transform that takes in the target and transforms it.
download (bool, optional): If True, downloads the dataset from the internet and
...
...
torchvision/datasets/semeion.py
View file @
87f1521f
...
...
@@ -14,7 +14,7 @@ class SEMEION(VisionDataset):
Args:
root (string): Root directory of dataset where directory
``semeion.py`` exists.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/stanford_cars.py
View file @
87f1521f
...
...
@@ -21,7 +21,7 @@ class StanfordCars(VisionDataset):
Args:
root (string): Root directory of dataset
split (string, optional): The dataset split, supports ``"train"`` (default) or ``"test"``.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/stl10.py
View file @
87f1521f
...
...
@@ -19,7 +19,7 @@ class STL10(VisionDataset):
folds (int, optional): One of {0-9} or None.
For training, loads one of the 10 pre-defined folds of 1k samples for the
standard evaluation procedure. If no value is passed, loads the 5k samples.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/sun397.py
View file @
87f1521f
...
...
@@ -15,7 +15,7 @@ class SUN397(VisionDataset):
Args:
root (string): Root directory of the dataset.
transform (callable, optional): A function/transform that
takes in a
n
PIL image and returns a transformed
transform (callable, optional): A function/transform that takes in a PIL image and returns a transformed
version. E.g, ``transforms.RandomCrop``.
target_transform (callable, optional): A function/transform that takes in the target and transforms it.
download (bool, optional): If true, downloads the dataset from the internet and
...
...
torchvision/datasets/svhn.py
View file @
87f1521f
...
...
@@ -22,7 +22,7 @@ class SVHN(VisionDataset):
root (string): Root directory of the dataset where the data is stored.
split (string): One of {'train', 'test', 'extra'}.
Accordingly dataset is selected. 'extra' is Extra training set.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/ucf101.py
View file @
87f1521f
...
...
@@ -36,7 +36,7 @@ class UCF101(VisionDataset):
fold (int, optional): which fold to use. Should be between 1 and 3.
train (bool, optional): if ``True``, creates a dataset from the train split,
otherwise from the ``test`` split.
transform (callable, optional): A function/transform that
takes in a TxHxWxC video
transform (callable, optional): A function/transform that takes in a TxHxWxC video
and returns a transformed version.
output_format (str, optional): The format of the output video tensors (before transforms).
Can be either "THWC" (default) or "TCHW".
...
...
torchvision/datasets/usps.py
View file @
87f1521f
...
...
@@ -18,7 +18,7 @@ class USPS(VisionDataset):
root (string): Root directory of dataset to store``USPS`` data files.
train (bool, optional): If True, creates dataset from ``usps.bz2``,
otherwise from ``usps.t.bz2``.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/vision.py
View file @
87f1521f
...
...
@@ -15,7 +15,7 @@ class VisionDataset(data.Dataset):
root (string, optional): Root directory of dataset. Only used for `__repr__`.
transforms (callable, optional): A function/transforms that takes in
an image and a label and returns the transformed versions of both.
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/voc.py
View file @
87f1521f
...
...
@@ -128,7 +128,7 @@ class VOCSegmentation(_VOCBase):
download (bool, optional): If true, downloads the dataset from the internet and
puts it in root directory. If dataset is already downloaded, it is not
downloaded again.
transform (callable, optional): A function/transform that takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
@@ -173,7 +173,7 @@ class VOCDetection(_VOCBase):
puts it in root directory. If dataset is already downloaded, it is not
downloaded again.
(default: alphabetic indexing of VOC's 20 classes).
transform (callable, optional): A function/transform that
takes in a
n
PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, required): A function/transform that takes in the
target and transforms it.
...
...
torchvision/datasets/widerface.py
View file @
87f1521f
...
...
@@ -26,7 +26,7 @@ class WIDERFace(VisionDataset):
└── WIDER_test ('WIDER_test.zip' if compressed)
split (string): The dataset split to use. One of {``train``, ``val``, ``test``}.
Defaults to ``train``.
transform (callable, optional): A function/transform that
takes in a PIL image
transform (callable, optional): A function/transform that takes in a PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment