Unverified Commit 44e93beb authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Categorize dataset doc page into sections (#5368)

parent 3f33eeb1
...@@ -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
Sintel SBU
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/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment