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
44e93beb
Unverified
Commit
44e93beb
authored
Feb 03, 2022
by
Nicolas Hug
Committed by
GitHub
Feb 03, 2022
Browse files
Categorize dataset doc page into sections (#5368)
parent
3f33eeb1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
22 deletions
+68
-22
docs/source/datasets.rst
docs/source/datasets.rst
+68
-22
No files found.
docs/source/datasets.rst
View file @
44e93beb
...
@@ -5,7 +5,7 @@ Torchvision provides many built-in datasets in the ``torchvision.datasets``
...
@@ -5,7 +5,7 @@ Torchvision provides many built-in datasets in the ``torchvision.datasets``
module, as well as utility classes for building your own datasets.
module, as well as utility classes for building your own datasets.
Built-in datasets
Built-in datasets
~~~~~~~~~~~~~~~~~
-----------------
All datasets are subclasses of :class:`torch.utils.data.Dataset`
All datasets are subclasses of :class:`torch.utils.data.Dataset`
i.e, they have ``__getitem__`` and ``__len__`` methods implemented.
i.e, they have ``__getitem__`` and ``__len__`` methods implemented.
...
@@ -25,6 +25,8 @@ All the datasets have almost similar API. They all have two common arguments:
...
@@ -25,6 +25,8 @@ All the datasets have almost similar API. They all have two common arguments:
``transform`` and ``target_transform`` to transform the input and target respectively.
``transform`` and ``target_transform`` to transform the input and target respectively.
You can also create your own datasets using the provided :ref:`base classes <base_classes_datasets>`.
You can also create your own datasets using the provided :ref:`base classes <base_classes_datasets>`.
Image classification
~~~~~~~~~~~~~~~~~~~~
.. autosummary::
.. autosummary::
:toctree: generated/
:toctree: generated/
...
@@ -35,9 +37,6 @@ You can also create your own datasets using the provided :ref:`base classes <bas
...
@@ -35,9 +37,6 @@ You can also create your own datasets using the provided :ref:`base classes <bas
CelebA
CelebA
CIFAR10
CIFAR10
CIFAR100
CIFAR100
Cityscapes
CocoCaptions
CocoDetection
Country211
Country211
DTD
DTD
EMNIST
EMNIST
...
@@ -45,51 +44,98 @@ You can also create your own datasets using the provided :ref:`base classes <bas
...
@@ -45,51 +44,98 @@ You can also create your own datasets using the provided :ref:`base classes <bas
FakeData
FakeData
FashionMNIST
FashionMNIST
FER2013
FER2013
FGVCAircraft
Flickr8k
Flickr8k
Flickr30k
Flickr30k
Flowers102
Flowers102
FlyingChairs
FlyingThings3D
Food101
Food101
FGVCAircraft
GTSRB
GTSRB
HD1K
HMDB51
ImageNet
INaturalist
INaturalist
Kinetics400
ImageNet
Kitti
KittiFlow
KMNIST
KMNIST
LFWPeople
LFWPeople
LFWPairs
LSUN
LSUN
MNIST
MNIST
Omniglot
Omniglot
OxfordIIITPet
OxfordIIITPet
PCAM
PhotoTour
Places365
Places365
RenderedSST2
PCAM
QMNIST
QMNIST
SBDataset
RenderedSST2
SBU
SEMEION
SEMEION
S
intel
S
BU
StanfordCars
StanfordCars
STL10
STL10
SUN397
SUN397
SVHN
SVHN
UCF101
USPS
USPS
Image detection or segmentation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autosummary::
:toctree: generated/
:template: class_dataset.rst
CocoDetection
CelebA
Cityscapes
GTSRB
Kitti
OxfordIIITPet
SBDataset
VOCSegmentation
VOCSegmentation
VOCDetection
VOCDetection
WIDERFace
WIDERFace
Optical Flow
~~~~~~~~~~~~
.. autosummary::
:toctree: generated/
:template: class_dataset.rst
FlyingChairs
FlyingThings3D
HD1K
KittiFlow
Sintel
Image pairs
~~~~~~~~~~~
.. autosummary::
:toctree: generated/
:template: class_dataset.rst
LFWPairs
PhotoTour
Image captioning
~~~~~~~~~~~~~~~~
.. autosummary::
:toctree: generated/
:template: class_dataset.rst
CocoCaptions
Video classification
~~~~~~~~~~~~~~~~~~~~
.. autosummary::
:toctree: generated/
:template: class_dataset.rst
HMDB51
Kinetics400
UCF101
.. _base_classes_datasets:
.. _base_classes_datasets:
Base classes for custom datasets
Base classes for custom datasets
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------------
.. autosummary::
.. autosummary::
:toctree: generated/
:toctree: generated/
...
...
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