converter module
- class datumaro.plugins.coco_format.converter.SegmentationMode(value)[source]
Bases:
enum.Enum
An enumeration.
- guess = 1
- polygons = 2
- mask = 3
- class datumaro.plugins.coco_format.converter.CocoConverter(extractor, save_dir, tasks=None, segmentation_mode=None, crop_covered=False, allow_attributes=True, reindex=False, merge_images=False, **kwargs)[source]
Bases:
datumaro.components.converter.Converter
- DEFAULT_IMAGE_EXT = '.jpg'