cerebras.modelzoo.data.vision.segmentation.config.SkmDataProcessorConfig#
- class cerebras.modelzoo.data.vision.segmentation.config.SkmDataProcessorConfig(batch_size: int = <object object at 0x7f9345f8db90>, shuffle: bool = True, shuffle_seed: int = 0, num_workers: int = 0, prefetch_factor: int = 10, persistent_workers: bool = True, use_worker_cache: bool = <object object at 0x7f9345f8db90>, data_dir: Union[str, List[str]] = <factory>, num_classes: int = <object object at 0x7f9345f8db90>, image_shape: List[int] = <factory>, loss: str = <object object at 0x7f9345f8db90>, normalize_data_method: Optional[str] = None, augment_data: bool = True, shuffle_buffer: Optional[int] = None, drop_last: bool = True, mixed_precision: Optional[bool] = None, echo_type: str = 'echo1', aggregate_cartilage: bool = True)[source]#
- echo_type: str = 'echo1'#
- aggregate_cartilage: bool = True#
- augment_data: bool = True#
- batch_size: int = <object object>#
Batch size to be used
- drop_last: bool = True#
- loss: str = <object object>#
- mixed_precision: Optional[bool] = None#
- normalize_data_method: Optional[str] = None#
- num_classes: int = <object object>#
- num_workers: int = 0#
The number of PyTorch processes used in the dataloader
- persistent_workers: bool = True#
Whether or not to keep workers persistent between epochs
- prefetch_factor: int = 10#
The number of batches to prefetch in the dataloader
- shuffle: bool = True#
Whether or not to shuffle the dataset
- shuffle_buffer: Optional[int] = None#
- shuffle_seed: int = 0#
Seed used for deterministic shuffling
- use_worker_cache: bool = <object object>#
- data_dir: Union[str, List[str]]#
- image_shape: List[int]#