datumaro.plugins.data_formats.mapillary_vistas.format#
Functions
|
|
|
Classes
|
An enumeration. |
- datumaro.plugins.data_formats.mapillary_vistas.format.make_mapillary_instance_categories(label_map)[source]#
- class datumaro.plugins.data_formats.mapillary_vistas.format.MapillaryVistasTask(value)[source]#
Bases:
Enum
An enumeration.
- instances = 1#
- panoptic = 2#
- class datumaro.plugins.data_formats.mapillary_vistas.format.MapillaryVistasPath[source]#
Bases:
object
- IMAGES_DIR = 'images'#
- INSTANCES_DIR = 'instances'#
- PANOPTIC_DIR = 'panoptic'#
- POLYGON_DIR = 'polygons'#
- CLASS_DIR = 'labels'#
- MASK_EXT = '.png'#
- ANNOTATION_DIRS = {'v1.2': ['labels', 'instances', 'panoptic'], 'v2.0': ['labels', 'instances', 'panoptic', 'polygons']}#
- CONFIG_FILES = {'v1.2': 'config_v1.2.json', 'v2.0': 'config_v2.0.json'}#
- PANOPTIC_CONFIG = {'v1.2': 'panoptic_2018.json', 'v2.0': 'panoptic_2020.json'}#
- CLASS_BY_DIR = {'instances': MapillaryVistasTask.instances, 'labels': MapillaryVistasTask.instances, 'panoptic': MapillaryVistasTask.panoptic, 'polygons': MapillaryVistasTask.instances}#