datumaro.plugins.data_formats.coco.importer#
Classes
- class datumaro.plugins.data_formats.coco.importer.CocoImporter[source]#
Bases:
Importer
- classmethod detect(context: FormatDetectionContext) FormatDetectionConfidence [source]#
- property can_stream: bool#
Flag to indicate whether the importer can stream the dataset item or not.
- get_extractor_merger() ExtractorMerger | None [source]#
Extractor merger dedicated for the data format
Datumaro import process spawns multiple DatasetBase for the detected sources. We can find a bunch of the detected sources from the given directory path. It is usually each detected source is corresponded to the subset of dataset in many data formats.
- Parameters:
stream – There can exist a branch according to stream flag
- Returns:
If None, use Dataset.from_extractors() to merge the extractors, Otherwise, use the return type to merge the extractors.
- class datumaro.plugins.data_formats.coco.importer.CocoImageInfoImporter[source]#
Bases:
CocoImporter
- classmethod detect(context: FormatDetectionContext) FormatDetectionConfidence [source]#
- class datumaro.plugins.data_formats.coco.importer.CocoCaptionsImporter[source]#
Bases:
CocoImageInfoImporter
- class datumaro.plugins.data_formats.coco.importer.CocoInstancesImporter[source]#
Bases:
CocoImageInfoImporter
- class datumaro.plugins.data_formats.coco.importer.CocoPersonKeypointsImporter[source]#
Bases:
CocoImageInfoImporter
- class datumaro.plugins.data_formats.coco.importer.CocoLabelsImporter[source]#
Bases:
CocoImageInfoImporter
- class datumaro.plugins.data_formats.coco.importer.CocoPanopticImporter[source]#
Bases:
CocoImageInfoImporter
- class datumaro.plugins.data_formats.coco.importer.CocoStuffImporter[source]#
Bases:
CocoImageInfoImporter