FGNET Dataset
Estimated reading: 3 minutes

Visualization of the FGNET dataset in the Deep Lake UI
The FGNet dataset is a dataset for age estimation and face recognition across ages. It is composed of a total of 1,002 images with 82 people aged 0 to 69. It is often used for face verification across large age gaps. The dataset contains images ranging from child/young to adult/old.
Instead of downloading the FGNET dataset in Python, you can effortlessly load it in Python via our Deep Lake open-source with just one line of code.
import deeplake
ds = deeplake.load("hub://activeloop/fgnet")
FGNET Data Fields
- image: tensor containing the face image.
- keypoints: tensor to identify various keypoints from face.
- ages: tensor to identify person’s age
- image_ids: tensor to identify each person.
FGNET Data Splits
- The FGNET dataset training set is composed of 1002.
Train a model on FGNET dataset with PyTorch in Python
Let’s use Deep Lake built-in PyTorch one-line dataloader to connect the data to the compute:
dataloader = ds.pytorch(num_workers=0, batch_size=4, shuffle=False)
Train a model on FGNET dataset with TensorFlow in Python
dataloader = ds.tensorflow()
- Homepage: https://yanweifu.github.io/FG_NET_data/
- Repository: N/A
- Paper: Yanwei Fu, Timothy M. Hospedales, Tao Xiang, Jiechao Xiong, Shaogang Gong, Yizhou Wang, and Yuan Yao. Robust Subjective Visual Property Prediction from Crowdsourced Pairwise Labels. IEEE TPAMI 2016
- Point of Contact: y.fu@qmul.ac.uk
FGNET Dataset Curators
Yanwei Fu, Timothy M. Hospedales, Tao Xiang, Jiechao Xiong, Shaogang Gong, Yizhou Wang, and Yuan Yao
FGNET Dataset Licensing Information
Deep Lake users may have access to a variety of publicly available datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have a license to use the datasets. It is your responsibility to determine whether you have permission to use the datasets under their license.
If you’re a dataset owner and do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thank you for your contribution to the ML community!
FGNET Dataset Citation Information
@INPROCEEDINGS{ranking2016PAMI,
author = { Yanwei Fu and Timothy M. Hospedales and Tao Xiang and Jiechao Xiong and Shaogang Gong and Yizhou Wang and Yuan Yao},
title = {Robust Subjective Visual Property Prediction from Crowdsourced Pairwise Labels},
booktitle = {IEEE TPAMI},
year = {2016}
}
What is the FGNET dataset for Python?
FGNet is a dataset composed of a total of 1,002 images of 82 people aged 0 to 69. It is often used for age estimation and face recognition across ages.
How can I use FGNET dataset in PyTorch or TensorFlow?
You can stream FGNET dataset while training a model in PyTorch or TensorFlow with one line of code using the open-source package Activeloop Deep Lake in Python. See detailed instructions on how to train a model on FGNET dataset with PyTorch in Python or train a model on FGNET dataset with TensorFlow in Python.