---
title: Race-Classification-FairFace-YOLOv8
canonical_url: "https://www.modelscope.cn/models/Anzhc/Race-Classification-FairFace-YOLOv8"
md_url: "https://www.modelscope.cn/models/Anzhc/Race-Classification-FairFace-YOLOv8.md"
repository: Anzhc/Race-Classification-FairFace-YOLOv8
last_updated: 2025-07-21
license: agpl-3.0
pipeline_tag: image-classification
tasks:
  - image-classification
base_model:
  - Ultralytics/YOLOv8
  - Ultralytics/YOLO11
base_model_relation: finetune
library_name:
  - pytorch
frameworks:
  - pytorch
downloads: 195
stars: 1
tags:
  - pytorch
  - YOLOv8
  - Ultralytics
  - YOLO11
---

# Race-Classification-FairFace-YOLOv8

> Race-Classification-FairFace-YOLOv8 - Anzhc 在 ModelScope 开源的模型。Race Classification YOLOv8/11 This model is based on FairFace 0.25 padding variant dataset composed by Microsoft researchers, aiming to reduce bias by better balancing classes in dataset.…

Anzhc/Race-Classification-FairFace-YOLOv8 是 ModelScope 魔搭社区上的image-classification模型，采用 agpl-3.0 许可，基于 Ultralytics/YOLOv8、Ultralytics/YOLO11 构建。

- **Repository**: Anzhc/Race-Classification-FairFace-YOLOv8
- **License**: agpl-3.0
- **Tasks**: image-classification
- **Base model**: Ultralytics/YOLOv8, Ultralytics/YOLO11
- **Tags**: pytorch, YOLOv8, Ultralytics, YOLO11
- **Downloads**: 195
- **Stars**: 1
- **Last updated**: 2025-07-21

Source: https://www.modelscope.cn/models/Anzhc/Race-Classification-FairFace-YOLOv8

---

# Race Classification YOLOv8/11
This model is based on [FairFace](https://github.com/joojs/fairface) 0.25 padding variant dataset composed by Microsoft researchers, aiming to reduce bias by better balancing classes in dataset.
> **Karkkainen, Kimmo, and Joo, Jungseock.**  
> *FairFace: Face Attribute Dataset for Balanced Race, Gender, and Age for Bias Measurement and Mitigation.*  
> Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, 2021, pp. 1548–1558.  
> [FairFace Dataset on GitHub](https://github.com/joojs/fairface)

You also can find their pretrained model [here](https://github.com/dchen236/FairFace).

This YOLOv8 training is meant only for race classification. I wanted a really really fast model for tagging, and this is likely what it's useful for!
~~I will provide a pipeline for running it on your datasets in future.~~

I've made simple scripts for you to use on your data. By default it will output .txt files(or append to existing), so modify for your specific needs:
https://github.com/Anzhc/Simple-Utility-Scripts-for-YOLO/tree/main


| Model                       | Target     | top1_acc      |Classes        |Dataset size  |Training Resolution|
| --------------------------- | ---------- | ------------- | ------------- |---------------|-------------------|
  |Race-CLS-FairFace_yolov8n| Face: Real   | 0.717         | 7(Black, East Asian, Indian, Latino_Hispanic, Middle Eastern, Southeast Asian, White)  |~86740(train), ~10950(val)|224|
  |Race-CLS-FairFace_yolov8s| Face: Real   | 0.721   | 7(Black, East Asian, Indian, Latino_Hispanic, Middle Eastern, Southeast Asian, White)  |~86740(train), ~10950(val)|224|
  |Race-CLS-FairFace_yolov8m| Face: Real   | 0.725   | 7(Black, East Asian, Indian, Latino_Hispanic, Middle Eastern, Southeast Asian, White)  |~86740(train), ~10950(val)|224|
  |Race-CLS-FairFace_yolo11l| Face: Real   | 0.733   | 7(Black, East Asian, Indian, Latino_Hispanic, Middle Eastern, Southeast Asian, White)  |~86740(train), ~10950(val)|224|
  |Race-CLS-FairFace_yolo11x| Face: Real   | 0.735   | 7(Black, East Asian, Indian, Latino_Hispanic, Middle Eastern, Southeast Asian, White)  |~86740(train), ~10950(val)|224|
