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

classmethod build_cmdline_parser(**kwargs)[source]
DEFAULT_IMAGE_EXT = '.jpg'
__init__(extractor, save_dir, tasks=None, segmentation_mode=None, crop_covered=False, allow_attributes=True, reindex=False, merge_images=False, **kwargs)[source]
apply()[source]
classmethod patch(dataset, patch, save_dir, **kwargs)[source]
class datumaro.plugins.coco_format.converter.CocoInstancesConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.coco_format.converter.CocoConverter

__init__(*args, **kwargs)[source]
class datumaro.plugins.coco_format.converter.CocoImageInfoConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.coco_format.converter.CocoConverter

__init__(*args, **kwargs)[source]
class datumaro.plugins.coco_format.converter.CocoPersonKeypointsConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.coco_format.converter.CocoConverter

__init__(*args, **kwargs)[source]
class datumaro.plugins.coco_format.converter.CocoCaptionsConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.coco_format.converter.CocoConverter

__init__(*args, **kwargs)[source]
class datumaro.plugins.coco_format.converter.CocoLabelsConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.coco_format.converter.CocoConverter

__init__(*args, **kwargs)[source]
class datumaro.plugins.coco_format.converter.CocoPanopticConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.coco_format.converter.CocoConverter

__init__(*args, **kwargs)[source]
class datumaro.plugins.coco_format.converter.CocoStuffConverter(*args, **kwargs)[source]

Bases: datumaro.plugins.coco_format.converter.CocoConverter

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