SemanticSegmentationDataReader#
- class SemanticSegmentationDataReader[source]#
Bases:
Dataset
Reads semantic segmentatioin images and labels from files.
Methods
__init__
(img_dir, label_dir)Constructor.
- __add__(other: Dataset[T_co]) ConcatDataset[T_co] #
- Parameters:
other (Dataset[T_co]) –
- Return type:
ConcatDataset[T_co]
- __getitem__(ind: int) tuple[numpy.ndarray, numpy.ndarray] [source]#
- Parameters:
ind (int) –
- Return type: