datumaro.plugins.data_formats.cityscapes#
Functions
|
|
|
|
|
Classes
|
|
|
|
|
An enumeration. |
- class datumaro.plugins.data_formats.cityscapes.CityscapesPath[source]#
Bases:
object
- GT_FINE_DIR = 'gtFine'#
- IMGS_FINE_DIR = ''#
- ORIGINAL_IMAGE_DIR = 'leftImg8bit'#
- ORIGINAL_IMAGE = '_leftImg8bit'#
- INSTANCES_IMAGE = '_instanceIds.png'#
- GT_INSTANCE_MASK_SUFFIX = '_gtFine_instanceIds.png'#
- COLOR_IMAGE = '_color.png'#
- LABELIDS_IMAGE = '_labelIds.png'#
- LABEL_TRAIN_IDS_SUFFIX = '_gtFine_labelTrainIds.png'#
- LABELMAP_FILE = 'label_colors.txt'#
- class datumaro.plugins.data_formats.cityscapes.CityscapesBase(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#
Bases:
SubsetBase
- class datumaro.plugins.data_formats.cityscapes.CityscapesImporter[source]#
Bases:
Importer
- classmethod detect(context: FormatDetectionContext) None [source]#
- class datumaro.plugins.data_formats.cityscapes.LabelmapType(value)[source]#
Bases:
Enum
An enumeration.
- cityscapes = 1#
- source = 2#