fairface / README.md
ryanramos's picture
Upload dataset
92becd0 verified
metadata
license: cc-by-4.0
dataset_info:
  - config_name: margin025
    features:
      - name: file
        dtype: image
      - name: age
        dtype: string
      - name: gender
        dtype: string
      - name: race
        dtype: string
      - name: service_test
        dtype: bool
    splits:
      - name: train
        num_bytes: 513550350.352
        num_examples: 86744
      - name: val
        num_bytes: 64534471.096
        num_examples: 10954
    download_size: 563297165
    dataset_size: 578084821.448
  - config_name: margin125
    features:
      - name: file
        dtype: image
      - name: age
        dtype: string
      - name: gender
        dtype: string
      - name: race
        dtype: string
      - name: service_test
        dtype: bool
      - name: image_features
        sequence: float32
    splits:
      - name: train
        num_bytes: 2048362216
        num_examples: 86744
      - name: val
        num_bytes: 259645815.75
        num_examples: 10954
    download_size: 2403949938
    dataset_size: 2308008031.75
configs:
  - config_name: margin025
    data_files:
      - split: train
        path: margin025/train-*
      - split: val
        path: margin025/val-*
  - config_name: margin125
    data_files:
      - split: train
        path: margin125/train-*
      - split: val
        path: margin125/val-*

Dataset Card for FairFace

Table of Contents

Dataset Description

Dataset Summary

A dataset of human faces annotated with discrete categories for the photographed person's age, sex, and race. Please consider prioritizing a previously created Hugging Face dataset repository for Fair Face as this new dataset repository was only made for downloading issues that may already be resolved.

For complete details on the dataset's construction and intended uses, please refer to the dataset's official repository or paper.

Dataset Structure

Data Instances

Each instance contains an image and discrete categories for age, gender, and race.

{
  'file': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=448x448>,
  'age': '50-59',
  'gender': 'Male',
  'race': 'East Asian',
  'service_test': True
}

Data Fields

  • file: an image of a human face with either padding = 0.25 or padding = 1.25 depending on the dataset config
  • age: a category describing the age of the person in the image limited to 0-2, 3-9, 10-19, 20-29, 30-39, 40-49, 50-59, 60-69, and more than 70
  • gender: a category describing the sex of the person in the image limited to Male and Female
  • race: a category describing the race of the person in the image limited to East Asian, Indian, Black, White, Middle Eastern, Latino_Hispanic, and Southeast Asian
  • service_test: please refer to this issue from the dataset's official repository

Additional Information

Licensing Information

According to the official repository, FairFace is licensed under CC BY 4.0.

Citation Information

@InProceedings{Karkkainen_2021_WACV,
    author    = {Karkkainen, Kimmo and Joo, Jungseock},
    title     = {FairFace: Face Attribute Dataset for Balanced Race, Gender, and Age for Bias Measurement and Mitigation},
    booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
    month     = {January},
    year      = {2021},
    pages     = {1548-1558}
}