Datasets:
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- image-classification
|
4 |
+
pretty_name: MS-Celeb-1M
|
5 |
+
size_categories:
|
6 |
+
- 1M<n<10M
|
7 |
+
---
|
8 |
+
|
9 |
+
# MS-Celeb-1M (v3)
|
10 |
+
|
11 |
+
This dataset is introduced in the Lightweight Face Recognition Challenge at ICCV 2019. [Paper](https://openaccess.thecvf.com/content_ICCVW_2019/papers/LSR/Deng_Lightweight_Face_Recognition_Challenge_ICCVW_2019_paper.pdf).
|
12 |
+
|
13 |
+
There are 5,179,510 images and 93,431 ids. All images are aligned based on facial landmarks predicted by RetinaFace and resized to 112x112.
|
14 |
+
|
15 |
+
This was downloaded from `https://github.com/deepinsight/insightface/tree/master/recognition/_datasets_` (MS1M-RetinaFace). The original dataset format is MXNet RecordIO. It was converted to WebDataset in this copy here. There are 100 shards in total.
|
16 |
+
|
17 |
+
## Usage
|
18 |
+
|
19 |
+
```python
|
20 |
+
import webdataset as wds
|
21 |
+
|
22 |
+
url = "https://huggingface.co/datasets/gaunernst/ms1mv3-wds/resolve/main/ms1mv3-{{0000..0099}}.tar"
|
23 |
+
ds = wds.WebDataset(url).decode("pil").to_tuple("jpg", "cls")
|
24 |
+
|
25 |
+
img, label = next(iter(ds))
|
26 |
+
```
|