datumaro.plugins.data_formats.coco.exporter#
Classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
An enumeration. |
|
- class datumaro.plugins.data_formats.coco.exporter.SegmentationMode(value)[source]#
Bases:
Enum
An enumeration.
- guess = 1#
- polygons = 2#
- mask = 3#
- class datumaro.plugins.data_formats.coco.exporter.TemporaryWriters(subset: str, task: CocoTask, ann_dir: str)[source]#
Bases:
object
- property imgs: _Writer#
- property anns: _Writer#
- class datumaro.plugins.data_formats.coco.exporter.CocoExporter(extractor, save_dir, tasks=None, segmentation_mode=None, crop_covered=False, allow_attributes=True, reindex=False, merge_images=False, stream: bool = False, **kwargs)[source]#
Bases:
Exporter
- DEFAULT_IMAGE_EXT = '.jpg'#
- class datumaro.plugins.data_formats.coco.exporter.CocoInstancesExporter(*args, **kwargs)[source]#
Bases:
CocoExporter
- class datumaro.plugins.data_formats.coco.exporter.CocoImageInfoExporter(*args, **kwargs)[source]#
Bases:
CocoExporter
- class datumaro.plugins.data_formats.coco.exporter.CocoPersonKeypointsExporter(*args, **kwargs)[source]#
Bases:
CocoExporter
- class datumaro.plugins.data_formats.coco.exporter.CocoCaptionsExporter(*args, **kwargs)[source]#
Bases:
CocoExporter
- class datumaro.plugins.data_formats.coco.exporter.CocoLabelsExporter(*args, **kwargs)[source]#
Bases:
CocoExporter
- class datumaro.plugins.data_formats.coco.exporter.CocoPanopticExporter(*args, **kwargs)[source]#
Bases:
CocoExporter
- class datumaro.plugins.data_formats.coco.exporter.CocoStuffExporter(*args, **kwargs)[source]#
Bases:
CocoExporter