Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,69 @@
|
|
1 |
---
|
2 |
-
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
{}
|
3 |
---
|
4 |
+
# Dataset Card for Arc2Face
|
5 |
+
|
6 |
+
<div align="center">
|
7 |
+
|
8 |
+
[**Project Page**](https://arc2face.github.io/) **|** [**Paper (ArXiv)**](https://arxiv.org/abs/2403.11641)
|
9 |
+
|
10 |
+
</div>
|
11 |
+
|
12 |
+
This is the dataset used in [Arc2Face: A Foundation Model of Human Faces](https://arc2face.github.io/).
|
13 |
+
|
14 |
+
## Dataset Summary
|
15 |
+
|
16 |
+
This dataset consists of approximately 21M facial images from 1M identities at a resolution of 448×448. It was produced by upsampling 50% of the images from the [WebFace42M database](https://arxiv.org/abs/2103.04098) (originally at 112×112 resolution) using a state-of-the-art blind face restoration [network](https://github.com/TencentARC/GFPGAN). This dataset was used to train the identity-conditioned generative face model presented in [Arc2Face](https://arxiv.org/abs/2403.11641).
|
17 |
+
|
18 |
+
## Tasks
|
19 |
+
The Arc2Face model is based on Stable Diffusion v1.5 and is designed for generating images at 512×512 pixels. To accommodate the requirements of large diffusion models, Arc2Face introduces a refined version of the WebFace42M dataset. Although the WebFace42M database is intended for Face Recognition (FR) training, the restored dataset provided here is designed for training generative face models. Its large number of IDs and considerable intra-class variability make it particularly helpful for ID-conditioned generation.
|
20 |
+
|
21 |
+
Please that the original WebFace42M dataset contains images tailored to extreme conditions for FR robustness. Despite post-restoration filtering, the restored dataset may still include some poor quality 448×448 images. Moreover, all images are limited to tightly cropped facial areas. Therefore, it is suggested to use this dataset in combination with other high-quality datasets (e.g., FFHQ) when training face models, as described in the [paper](https://arxiv.org/abs/2403.11641).
|
22 |
+
|
23 |
+
## Dataset Structure
|
24 |
+
|
25 |
+
The dataset consists of 35 zip files split into 5 groups (7 zip files per group). Each zip file is approximately 30GB in size.
|
26 |
+
|
27 |
+
You can download the zip files from this repository manually or using python (e.g., for the first zip):
|
28 |
+
|
29 |
+
```python
|
30 |
+
from huggingface_hub import hf_hub_download
|
31 |
+
|
32 |
+
hf_hub_download(repo_id="FoivosPar/Arc2Face", filename="0/0_0.zip", local_dir="./Arc2Face_data", repo_type="dataset")
|
33 |
+
```
|
34 |
+
|
35 |
+
After unzipping, the dataset structure will be:
|
36 |
+
|
37 |
+
```
|
38 |
+
Arc2Face_data
|
39 |
+
└── IDs
|
40 |
+
└── images
|
41 |
+
```
|
42 |
+
|
43 |
+
Please note that due to the large dataset size, downloading and unzipping may take many hours to complete.
|
44 |
+
|
45 |
+
## Citation
|
46 |
+
|
47 |
+
If you use this dataset, please cite our paper:
|
48 |
+
|
49 |
+
```bibtex
|
50 |
+
@misc{paraperas2024arc2face,
|
51 |
+
title={Arc2Face: A Foundation Model of Human Faces},
|
52 |
+
author={Foivos Paraperas Papantoniou and Alexandros Lattas and Stylianos Moschoglou and Jiankang Deng and Bernhard Kainz and Stefanos Zafeiriou},
|
53 |
+
year={2024},
|
54 |
+
eprint={2403.11641},
|
55 |
+
archivePrefix={arXiv},
|
56 |
+
primaryClass={cs.CV}
|
57 |
+
}
|
58 |
+
```
|
59 |
+
|
60 |
+
as well as the original dataset:
|
61 |
+
|
62 |
+
```bibtex
|
63 |
+
@misc{zhu2021webface260m,
|
64 |
+
title={WebFace260M: A Benchmark Unveiling the Power of Million-scale Deep Face Recognition},
|
65 |
+
author={Zheng Zhu, Guan Huang, Jiankang Deng, Yun Ye, Junjie Huang, Xinze Chen, Jiagang Zhu, Tian Yang, Jiwen Lu, Dalong Du, Jie Zhou},
|
66 |
+
booktitle={IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
|
67 |
+
year={2021}
|
68 |
+
}
|
69 |
+
```
|