cerebras.modelzoo.data.vision.segmentation.Hdf5BaseDataProcessor.Hdf5BaseDataProcessorConfig#
- class cerebras.modelzoo.data.vision.segmentation.Hdf5BaseDataProcessor.Hdf5BaseDataProcessorConfig(*args, **kwargs)[source]#
Bases:
cerebras.modelzoo.config.data_config.DataConfigMethods
check_for_deprecated_fieldscheck_literal_discriminator_fieldcopyget_orig_classget_orig_class_argsmodel_copymodel_post_initpost_initAttributes
augment_dataBatch size
Path to dataset HDF5 files
discriminatordiscriminator_valueIf 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_configData normalization method
Maximum length of the sequence to generate
How many subprocesses to use for data loading.
If True, the data loader will not shutdown the worker processes after a dataset has been consumed once.
Number of samples loaded in advance by each worker.
"Flag to enable data shuffling
Size of shuffle buffer in samples.
Shuffle seed
use_fast_dataloaderuse_worker_cachedata_processor- data_dir = Ellipsis#
Path to dataset HDF5 files
- num_classes = None#
Maximum length of the sequence to generate
- normalize_data_method = None#
Data normalization method
- shuffle = True#
“Flag to enable data shuffling
- shuffle_buffer = None#
Size of shuffle buffer in samples.
- shuffle_seed = None#
Shuffle seed
- batch_size = Ellipsis#
Batch size
- num_workers = 0#
How many subprocesses to use for data loading.
- drop_last = True#
If True and the dataset size is not divisible by the batch size, the last incomplete batch will be dropped.
- prefetch_factor = 10#
Number of samples loaded in advance by each worker.
- persistent_workers = True#
If True, the data loader will not shutdown the worker processes after a dataset has been consumed once.