Datasets:
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- image-classification
|
4 |
+
size_categories:
|
5 |
+
- 10M<n<100M
|
6 |
+
---
|
7 |
+
|
8 |
+
# Glint360K
|
9 |
+
|
10 |
+
This dataset is introduced in the Partial FC paper https://arxiv.org/abs/2010.05222.
|
11 |
+
|
12 |
+
There are 17,091,657 images and 360,232 ids. All images are aligned based on facial landmarks predicted by RetinaFace and resized to 112x112.
|
13 |
+
|
14 |
+
This was downloaded from `https://github.com/deepinsight/insightface/tree/master/recognition/_datasets_`. The original dataset format is MXNet RecordIO. It was converted to WebDataset in this copy here. There are 1,385 shards in total.
|
15 |
+
|
16 |
+
## Usage
|
17 |
+
|
18 |
+
```python
|
19 |
+
import webdataset as wds
|
20 |
+
|
21 |
+
url = "https://huggingface.co/datasets/gaunernst/glint360k-wds-gz/resolve/main/glint360k-{0000..1384}.tar.gz"
|
22 |
+
ds = wds.WebDataset(url).decode("pil").to_tuple("jpg", "cls")
|
23 |
+
|
24 |
+
img, label = next(iter(ds))
|
25 |
+
```
|