format module

class datumaro.plugins.kitti_format.format.KittiTask(value)[source]

Bases: enum.Enum

An enumeration.

segmentation = 1
detection = 2
class datumaro.plugins.kitti_format.format.KittiPath[source]

Bases: object

IMAGES_DIR = 'image_2'
INSTANCES_DIR = 'instance'
LABELS_DIR = 'label_2'
SEMANTIC_RGB_DIR = 'semantic_rgb'
SEMANTIC_DIR = 'semantic'
IMAGE_EXT = '.png'
MASK_EXT = '.png'
LABELMAP_FILE = 'label_colors.txt'
DEFAULT_TRUNCATED = 0.0
DEFAULT_OCCLUDED = 0
DEFAULT_SCORE = 1.0
datumaro.plugins.kitti_format.format.make_kitti_categories(label_map=None)[source]
datumaro.plugins.kitti_format.format.parse_label_map(path)[source]
datumaro.plugins.kitti_format.format.write_label_map(path, label_map)[source]