datumaro.plugins.data_formats.ava.ava#

Classes

AvaBase(path, *[, subset, ctx])

AvaExporter(extractor, save_dir, *[, ...])

AvaImporter()

AvaPath()

class datumaro.plugins.data_formats.ava.ava.AvaPath[source]#

Bases: object

IMAGE_DIR = 'frames'#
IMAGE_EXT = '.jpg'#
ANNOTATION_DIR = 'annotations'#
ANNOTATION_EXT = '.csv'#
ANNOTATION_PREFIX = 'ava_'#
ANNOTATION_VERSION = '_v2.2'#
LABEL_LIST = 'ava_action_list_v2.2.pbtxt'#
PROPOSAL_EXT = '.pkl'#
class datumaro.plugins.data_formats.ava.ava.AvaBase(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#

Bases: SubsetBase

class datumaro.plugins.data_formats.ava.ava.AvaImporter[source]#

Bases: Importer

classmethod find_sources(path)[source]#
classmethod detect(context: FormatDetectionContext) FormatDetectionConfidence[source]#
classmethod get_file_extensions() List[str][source]#
class datumaro.plugins.data_formats.ava.ava.AvaExporter(extractor: IDataset, save_dir: str, *, save_media: bool | None = None, image_ext: str | None = None, default_image_ext: str | None = None, save_dataset_meta: bool = False, save_hashkey_meta: bool = False, stream: bool = False, ctx: ExportContext | None = None)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.jpg'#