Registration is open for TensorFlow Dev Summit 2020 Learn more

vgg_face2 (Manual download)

VGGFace2 is a large-scale face recognition dataset. Images are downloaded from Google Image Search and have large variations in pose, age, illumination, ethnicity and profession. VGGFace2 contains images from identities spanning a wide range of different ethnicities, accents, professions and ages. All face images are captured "in the wild", with pose and emotion variations and different lighting and occlusion conditions. Face distribution for different identities is varied, from 87 to 843, with an average of 362 images for each subject.

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/vgg_face2/): manual_dir should contain two files: vggface2_test.tar.gz and vggface2_train.tar.gz. You need to register on http://zeus.robots.ox.ac.uk/vgg_face2/signup/ in order to get the link to download the dataset.

Features

FeaturesDict({
    'file_name': Text(shape=(), dtype=tf.string),
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=9131),
})

Statistics

Split Examples
ALL 3,311,286
TRAIN 3,141,890
TEST 169,396

Homepage

Supervised keys (for as_supervised=True)

('image', 'label')

Citation

@InProceedings{Cao18,
author = "Cao, Q. and Shen, L. and Xie, W. and Parkhi, O. M. and Zisserman, A.",
title  = "VGGFace2: A dataset for recognising faces across pose and age",
booktitle = "International Conference on Automatic Face and Gesture Recognition",
year  = "2018"}