Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,58 +1,38 @@
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
task_categories:
|
| 4 |
- image-classification
|
| 5 |
tags:
|
| 6 |
- human-detection
|
|
|
|
| 7 |
- computer-vision
|
| 8 |
size_categories:
|
| 9 |
-
- n<
|
| 10 |
-
configs:
|
| 11 |
-
- config_name: default
|
| 12 |
-
data_files:
|
| 13 |
-
- split: train
|
| 14 |
-
path: data/train-*
|
| 15 |
-
- split: validation
|
| 16 |
-
path: data/validation-*
|
| 17 |
-
- split: test
|
| 18 |
-
path: data/test-*
|
| 19 |
-
dataset_info:
|
| 20 |
-
features:
|
| 21 |
-
- name: image
|
| 22 |
-
dtype: image
|
| 23 |
-
- name: label
|
| 24 |
-
dtype:
|
| 25 |
-
class_label:
|
| 26 |
-
names:
|
| 27 |
-
'0': human
|
| 28 |
-
'1': non_human
|
| 29 |
-
splits:
|
| 30 |
-
- name: train
|
| 31 |
-
num_bytes: 58130594.868
|
| 32 |
-
num_examples: 5973
|
| 33 |
-
- name: validation
|
| 34 |
-
num_bytes: 17288633.048
|
| 35 |
-
num_examples: 1706
|
| 36 |
-
- name: test
|
| 37 |
-
num_bytes: 9426595.0
|
| 38 |
-
num_examples: 855
|
| 39 |
-
download_size: 88469762
|
| 40 |
-
dataset_size: 84845822.91600001
|
| 41 |
---
|
| 42 |
|
| 43 |
# Human vs Non-Human Face Dataset
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
## π
|
| 48 |
-
|
| 49 |
-
- `
|
| 50 |
-
- `val/`: Validation images
|
| 51 |
-
- `test/`: Testing images (851 samples)
|
| 52 |
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
| 1 |
+
|
| 2 |
---
|
| 3 |
license: mit
|
| 4 |
task_categories:
|
| 5 |
- image-classification
|
| 6 |
tags:
|
| 7 |
- human-detection
|
| 8 |
+
- face-classification
|
| 9 |
- computer-vision
|
| 10 |
size_categories:
|
| 11 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Human vs Non-Human Face Dataset
|
| 15 |
|
| 16 |
+
A robust dataset for binary classification between real human faces and non-human face-like objects (statues, art, gaming, anime).
|
| 17 |
+
|
| 18 |
+
## π Dataset Statistics
|
| 19 |
+
| Split | Human | Non-Human | Total |
|
| 20 |
+
| :--- | :--- | :--- | :--- |
|
| 21 |
+
| **Train** | 3,024 | 2,949 | 5,973 |
|
| 22 |
+
| **Validation** | 864 | 842 | 1,706 |
|
| 23 |
+
| **Test** | 433 | 422 | 855 |
|
| 24 |
+
| **Total** | | | **8,534** |
|
| 25 |
|
| 26 |
+
## π Format
|
| 27 |
+
- Images are decodable as **PIL.Image** objects.
|
| 28 |
+
- Labels: `0: human`, `1: non_human`.
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
## π Quick Start
|
| 31 |
+
```python
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
ds = load_dataset("8Opt/human-nonhuman-face-classification")
|
| 34 |
|
| 35 |
+
# Access test set
|
| 36 |
+
example = ds['test'][0]
|
| 37 |
+
img, label = example['image'], example['label']
|
| 38 |
+
img.show()
|