cifar#
CIFAR image classification dataset.
The CIFAR datasets are a collection of labeled 32x32 colour images. Please refer to the CIFAR dataset for more details.
Classes
Implementation of the CIFAR10 dataset using StreamingDataset. |
- class composer.datasets.cifar.StreamingCIFAR10(remote, local, split, shuffle, batch_size=None)[source]#
Bases:
composer.datasets.streaming.dataset.StreamingDataset
,torchvision.datasets.vision.VisionDataset
Implementation of the CIFAR10 dataset using StreamingDataset.
- Parameters
remote (str) โ Remote directory (S3 or local filesystem) where dataset is stored.
local (str) โ Local filesystem directory where dataset is cached during operation.
split (str) โ The dataset split to use, either โtrainโ or โvalโ.
shuffle (bool) โ Whether to shuffle the samples in this dataset.
batch_size (Optional[int]) โ Hint batch_size that will be used on each deviceโs DataLoader. Default:
None
.