cerebras.modelzoo.data.vision.segmentation.Hdf5DataProcessor.Hdf5DataProcessorConfig#
- class cerebras.modelzoo.data.vision.segmentation.Hdf5DataProcessor.Hdf5DataProcessorConfig(*args, **kwargs)[source]#
Bases:
cerebras.modelzoo.data.vision.segmentation.Hdf5BaseDataProcessor.Hdf5BaseDataProcessorConfigMethods
check_for_deprecated_fieldscheck_literal_discriminator_fieldcopyget_orig_classget_orig_class_argsmodel_copymodel_post_initpost_initAttributes
augment_databatch_sizeBatch size
data_dirPath to dataset HDF5 files
discriminatordiscriminator_valuedrop_lastIf True and the dataset size is not divisible by the batch size, the last incomplete batch will be dropped.
duplicate_act_worker_datafp16_typeimage_shapelossmixed_precisionmodel_confignormalize_data_methodData normalization method
num_classesMaximum length of the sequence to generate
num_workersHow many subprocesses to use for data loading.
persistent_workersIf True, the data loader will not shutdown the worker processes after a dataset has been consumed once.
prefetch_factorNumber of samples loaded in advance by each worker.
shuffle"Flag to enable data shuffling
shuffle_bufferSize of shuffle buffer in samples.
shuffle_seedShuffle seed
splituse_fast_dataloaderuse_worker_cachedata_processor