v2.5.0
Datasets ⭐
EXAMPLE CODE
FGNET Dataset
Load FGNET dataset in Python fast. Age estimation and face recognition across ages dataset. Stream FGNET Dataset while training models in PyTorch & TensorFlow.
Visualization of the FGNET dataset on the Activeloop Platform

FGNET dataset

What is FGNET Dataset?

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.

Download FGNET Dataset in Python

Instead of downloading the FGNET dataset in Python, you can effortlessly load it in Python via our open-source package Hub with just one line of code.

Load FGNET Dataset Training Subset in Python

1
import hub
2
ds = hub.load("hub://activeloop/fgnet")
Copied!

FGNET Dataset Structure

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

How to use FGNET Dataset with PyTorch and TensorFlow in Python

Train a model on FGNET dataset with PyTorch in Python

Let's use Hub's built-in PyTorch one-line dataloader to connect the data to the compute:
1
dataloader = ds.pytorch(num_workers=0, batch_size=4, shuffle=False)
Copied!

Train a model on FGNET dataset with TensorFlow in Python

1
dataloader = ds.tensorflow()
Copied!

Additional Information about FGNET Dataset

FGNET Dataset Description

  • 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: [email protected]

FGNET Dataset Curators

Yanwei Fu, Timothy M. Hospedales, Tao Xiang, Jiechao Xiong, Shaogang Gong, Yizhou Wang, and Yuan Yao

FGNET Dataset Licensing Information

Hub 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

1
@INPROCEEDINGS{ranking2016PAMI,
2
author = { Yanwei Fu and Timothy M. Hospedales and Tao Xiang and Jiechao Xiong and Shaogang Gong and Yizhou Wang and Yuan Yao},
3
title = {Robust Subjective Visual Property Prediction from Crowdsourced Pairwise Labels},
4
booktitle = {IEEE TPAMI},
5
year = {2016}
6
}
Copied!

FGNET Dataset FAQs

What is the FGNET dataset for Python?

FGNet is a dataset is 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 Hub 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.