converter module

class datumaro.plugins.kitti_format.converter.LabelmapType(value)[source]

Bases: enum.Enum

An enumeration.

kitti = 1
source = 2
class datumaro.plugins.kitti_format.converter.KittiConverter(extractor, save_dir, tasks=None, apply_colormap=True, label_map=None, **kwargs)[source]

Bases: datumaro.components.converter.Converter

DEFAULT_IMAGE_EXT = '.png'
classmethod build_cmdline_parser(**kwargs)[source]
__init__(extractor, save_dir, tasks=None, apply_colormap=True, label_map=None, **kwargs)[source]
apply()[source]
get_label(label_id)[source]
save_label_map()[source]
save_mask(path, mask, colormap=None, apply_colormap=True, dtype=<class 'numpy.uint8'>)[source]
class datumaro.plugins.kitti_format.converter.KittiSegmentationConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.kitti_format.converter.KittiConverter

__init__(*args, **kwargs)[source]
class datumaro.plugins.kitti_format.converter.KittiDetectionConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.kitti_format.converter.KittiConverter

__init__(*args, **kwargs)[source]