datumaro.plugins.data_formats.segment_anything#
- class datumaro.plugins.data_formats.segment_anything.SegmentAnythingBase(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#
Bases:
SubsetBase
- class datumaro.plugins.data_formats.segment_anything.SegmentAnythingImporter[source]#
Bases:
Importer
- classmethod detect(context: FormatDetectionContext) FormatDetectionConfidence | None [source]#
- class datumaro.plugins.data_formats.segment_anything.SegmentAnythingExporter(extractor, save_dir, **kwargs)[source]#
Bases:
Exporter
- DEFAULT_IMAGE_EXT = '.jpg'#
Modules