module documentation

FiftyOne Zoo Datasets provided by torchvision:torchvision.datasets.

Copyright 2017-2025, Voxel51, Inc.

Class CIFAR100Dataset The CIFAR-100 dataset of images.
Class CIFAR10Dataset The CIFAR-10 dataset consists of 60,000 32 x 32 color images in 10 classes, with 6,000 images per class. There are 50,000 training images and 10,000 test images.
Class FashionMNISTDataset The Fashion-MNIST database of Zalando's fashion article images.
Class ImageNet2012Dataset The ImageNet 2012 dataset.
Class MNISTDataset The MNIST database of handwritten digits.
Class TorchVisionDataset Base class for zoo datasets that are provided via the torchvision:torchvision.datasets package.
Class VOC2007Dataset The dataset for the PASCAL Visual Object Classes Challenge 2007 (VOC2007) for the classification and detection competitions.
Class VOC2012Dataset The dataset for the PASCAL Visual Object Classes Challenge 2012 (VOC2012) for the Classification and Detection competitions.
Constant AVAILABLE_DATASETS Undocumented
Variable torchvision Undocumented
Class _VOCDetectionSampleParser Undocumented
Function _download_and_prepare Undocumented
Function _parse_classification_labels Undocumented
Function _parse_coco_detection_labels_map Undocumented
Function _parse_voc_detection_labels Undocumented
Constant _TORCH_IMPORT_ERROR Undocumented
Variable _callback Undocumented
AVAILABLE_DATASETS = (source)

Undocumented

Value
{'mnist': MNISTDataset,
 'fashion-mnist': FashionMNISTDataset,
 'cifar10': CIFAR10Dataset,
 'cifar100': CIFAR100Dataset,
 'imagenet-2012': ImageNet2012Dataset,
 'voc-2007': VOC2007Dataset,
 'voc-2012': VOC2012Dataset}
torchvision = (source)

Undocumented

def _download_and_prepare(dataset_dir, scratch_dir, download_fcn, get_classes_fcn, sample_parser): (source)

Undocumented

def _parse_classification_labels(dataset): (source)

Undocumented

def _parse_coco_detection_labels_map(dataset): (source)

Undocumented

def _parse_voc_detection_labels(_): (source)

Undocumented

_TORCH_IMPORT_ERROR: str = (source)

Undocumented

Value
'''

You tried to download a dataset from the FiftyOne Dataset Zoo using the PyTorch
backend, but you do not have the necessary packages installed.

Ensure that you have `torch` and `torchvision` installed on your machine, and
then try running this command again.
...
_callback = (source)

Undocumented