neodroidvision.data.classification.vgg_face2.VggFace2

class neodroidvision.data.classification.vgg_face2.VggFace2(dataset_path: Path, split: SplitEnum = SplitEnum.training, *, resize_s: int = 256, raw_images: bool = False, verbose: bool = False)[source]

Bases: SupervisedDataset

Department of Engineering Science, University of Oxford Visual Geometry Group Face 2 Dataset

__init__(dataset_path: Path, split: SplitEnum = SplitEnum.training, *, resize_s: int = 256, raw_images: bool = False, verbose: bool = False)[source]
Parameters
  • dataset_path – dataset directory

  • split – train, valid, test

Methods

__init__(dataset_path[, split, resize_s, ...])

type resize_s

int or tuple(w,h)

get_id_label_map(meta_file)

param meta_file

Attributes

inverse_transform

predictor_shape

return: :rtype:

response_shape

return: :rtype:

split_names

return: :rtype:

static get_id_label_map(meta_file: Path)[source]
Parameters

meta_file

Returns

Return type

property predictor_shape: Tuple[int, ...]

return: :rtype:

property response_shape: Tuple[int, ...]

return: :rtype:

property split_names: Dict[SplitEnum, str]

return: :rtype: