datumaro.plugins.data_formats.celeba.align_celeba#

Classes

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

AlignCelebaImporter()

AlignCelebaPath()

class datumaro.plugins.data_formats.celeba.align_celeba.AlignCelebaPath[source]#

Bases: CelebaPath

IMAGES_DIR = 'Img/img_align_celeba'#
LANDMARKS_FILE = 'Anno/list_landmarks_align_celeba.txt'#
LANDMARKS_HEADER = 'lefteye_x lefteye_y righteye_x righteye_y nose_x nose_y leftmouth_x leftmouth_y rightmouth_x rightmouth_y'#
class datumaro.plugins.data_formats.celeba.align_celeba.AlignCelebaBase(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#

Bases: SubsetBase

split_annotation(line)[source]#
class datumaro.plugins.data_formats.celeba.align_celeba.AlignCelebaImporter[source]#

Bases: CelebaImporter

PATH_CLS#

alias of AlignCelebaPath