datumaro.plugins.data_formats.lfw#
Classes
|
|
|
|
|
- class datumaro.plugins.data_formats.lfw.LfwPath[source]#
Bases:
object
- IMAGES_DIR = 'images'#
- ANNOTATION_DIR = 'annotations'#
- LANDMARKS_FILE = 'landmarks.txt'#
- PAIRS_FILE = 'pairs.txt'#
- PEOPLE_FILE = 'people.txt'#
- IMAGE_EXT = '.jpg'#
- PATTERN = re.compile('([\\w-]+)_([-\\d]+)')#
- class datumaro.plugins.data_formats.lfw.LfwBase(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#
Bases:
SubsetBase
- class datumaro.plugins.data_formats.lfw.LfwImporter[source]#
Bases:
Importer
- classmethod detect(context: FormatDetectionContext) None [source]#
- class datumaro.plugins.data_formats.lfw.LfwExporter(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'#