cerebras.modelzoo.data.vision.classification.data.cifar.CIFAR10ProcessorConfig#
- class cerebras.modelzoo.data.vision.classification.data.cifar.CIFAR10ProcessorConfig(*args, **kwargs)[source]#
Bases:
cerebras.modelzoo.data.vision.classification.data.cifar.CIFARProcessorConfigMethods
check_for_deprecated_fieldscheck_literal_discriminator_fieldcopyget_orig_classget_orig_class_argsmodel_copymodel_post_initpost_initAttributes
batch_sizeGlobal batch size for the dataloader
cutmix_alphaAlpha parameter for the cutmix transform.
data_dirThe path to the data
discriminatordiscriminator_valuedrop_lastSimilar to the PyTorch drop_last setting except that samples that when set to True, samples that would have been dropped at the end of one epoch are yielded at the start of the next epoch so that there is no data loss.
fp16_typeimage_sizeThe size of the images in the dataset
mixed_precisionmixup_alphaAlpha parameter for the mixup transform.
model_confignoaugmentIndicates to skip augmentation as part of preprocessing.
num_classesThe number of classification classes in the dataset
num_workersHow many subprocesses to use for data loading
persistent_workersWhether or not to keep workers persistent between epochs.
prefetch_factorNumber of batches loaded in advance by each worker
ra_sampler_num_repeatNumber of repeats for Repeated Augmentation sampler.
samplerType of data sampler to use
shuffleWhether or not to shuffle the dataset.
shuffle_seedThe seed used for deterministic shuffling.
splitDataset split.
transformsList of transforms for preprocessing
data_processor