datumaro.plugins.data_formats.vgg_face2#

Classes

VggFace2Base(path, *[, ctx])

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

VggFace2Importer()

VggFace2Path()

class datumaro.plugins.data_formats.vgg_face2.VggFace2Path[source]#

Bases: object

ANNOTATION_DIR = 'bb_landmark'#
IMAGE_EXT = '.jpg'#
BBOXES_FILE = 'loose_bb_'#
LANDMARKS_FILE = 'loose_landmark_'#
LABELS_FILE = 'labels.txt'#
IMAGES_DIR_NO_LABEL = 'no_label'#
class datumaro.plugins.data_formats.vgg_face2.VggFace2Base(path: str, *, ctx: Optional[ImportContext] = None)[source]#

Bases: DatasetBase

categories()[source]#

Returns metainfo about dataset labels.

class datumaro.plugins.data_formats.vgg_face2.VggFace2Importer[source]#

Bases: Importer

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

Bases: Exporter

DEFAULT_IMAGE_EXT = '.jpg'#