Dongrae alecccdd commited on
Commit
7974bcc
·
verified ·
0 Parent(s):

Duplicate from alecccdd/celeb-fbi

Browse files

Co-authored-by: alec dd <alecccdd@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: id
5
+ dtype: string
6
+ - name: image
7
+ dtype: image
8
+ - name: height
9
+ dtype: float64
10
+ - name: weight
11
+ dtype: float64
12
+ - name: gender
13
+ dtype: int64
14
+ - name: age
15
+ dtype: int64
16
+ splits:
17
+ - name: train
18
+ num_bytes: 1347895106
19
+ num_examples: 6487
20
+ - name: test
21
+ num_bytes: 162397956
22
+ num_examples: 721
23
+ download_size: 1587814198
24
+ dataset_size: 1510293062
25
+ configs:
26
+ - config_name: default
27
+ data_files:
28
+ - split: train
29
+ path: data/train-*
30
+ - split: test
31
+ path: data/test-*
32
+ license: apache-2.0
33
+ task_categories:
34
+ - image-classification
35
+ - image-feature-extraction
36
+ tags:
37
+ - human-body
38
+ - biometrics
39
+ - age-estimation
40
+ - height-estimation
41
+ - weight-estimation
42
+ - gender-classification
43
+ - celebrity
44
+ ---
45
+ # Celeb-FBI: Celebrity Full Body Images Dataset
46
+
47
+ A cleaned and restructured version of the Celeb-FBI dataset containing 7,208 full-body celebrity images with annotations for height, weight, age, and gender.
48
+
49
+ ## Dataset Description
50
+
51
+ This dataset consists of worldwide celebrity images captured in standing, front-facing positions. It is designed for research on human attribute estimation from full-body images, including height, weight, age, and gender prediction tasks.
52
+
53
+ ### Dataset Structure
54
+
55
+ ```
56
+ DatasetDict({
57
+ train: Dataset({
58
+ features: ['id', 'image', 'height', 'weight', 'gender', 'age'],
59
+ num_rows: 6487
60
+ })
61
+ test: Dataset({
62
+ features: ['id', 'image', 'height', 'weight', 'gender', 'age'],
63
+ num_rows: 721
64
+ })
65
+ })
66
+ ```
67
+
68
+ ### Features
69
+
70
+ | Feature | Type | Description |
71
+ |----------|---------|--------------------------------------------------|
72
+ | `id` | int | Unique identifier for the image |
73
+ | `image` | Image | Full-body celebrity photograph |
74
+ | `height` | float | Height in centimeters (-1 if missing/invalid) |
75
+ | `weight` | float | Weight in kilograms (-1 if missing/invalid) |
76
+ | `gender` | int | 0 = Male, 1 = Female |
77
+ | `age` | int | Age in years (-1 if missing/invalid) |
78
+
79
+ ### Statistics
80
+
81
+ | Attribute | Min | Max | Mean | Valid Samples |
82
+ |-----------|-------|--------|-------|---------------|
83
+ | Height | 79 cm | 259 cm | 170 cm | ~6,100 |
84
+ | Weight | 38 kg | 202 kg | 66 kg | ~5,300 |
85
+ | Age | 14 | 97 | 42 | ~6,500 |
86
+ | Gender | — | — | 61% F | 7,208 |
87
+
88
+ ## Data Processing
89
+
90
+ This version of the dataset includes several improvements over the original:
91
+
92
+ **Cleaning steps applied:**
93
+ - Converted height from feet to centimeters for standardization
94
+ - Removed implausible values (e.g., heights outside reasonable human range)
95
+ - Missing or invalid values are encoded as `-1`
96
+ - Fixed typos in original annotations
97
+ - Manual corrections for identified mislabeled samples
98
+
99
+ **Train/test split:**
100
+ - Stratified 90/10 split based on height, age, weight buckets, and gender
101
+ - Ensures balanced representation across attribute combinations
102
+
103
+ **Note:** Approximately 14% of samples have at least one missing or invalid attribute value (marked as -1). The dataset contains some noise in annotations—users should account for this in their applications.
104
+
105
+ ## Usage
106
+
107
+ ```python
108
+ from datasets import load_dataset
109
+
110
+ # Load the dataset
111
+ dataset = load_dataset("alecccdd/celeb-fbi")
112
+
113
+ # Access training data
114
+ train_data = dataset["train"]
115
+
116
+ # Example: iterate over samples
117
+ for sample in train_data:
118
+ image = sample["image"]
119
+ height = sample["height"] # in cm, -1 if missing
120
+ weight = sample["weight"] # in kg, -1 if missing
121
+ gender = sample["gender"] # 0=male, 1=female
122
+ age = sample["age"] # -1 if missing
123
+
124
+ # Filter valid samples for a specific attribute
125
+ valid_height_samples = train_data.filter(lambda x: x["height"] != -1)
126
+ ```
127
+
128
+ ## Intended Uses
129
+
130
+ - Human attribute estimation research (height, weight, age, gender)
131
+ - Multi-task learning on human body images
132
+ - Benchmarking computer vision models for biometric prediction
133
+ - Study of visual cues for physical attribute estimation
134
+
135
+ ## Limitations
136
+
137
+ - Images are of celebrities and may not represent the general population
138
+ - Annotation accuracy depends on publicly available biographical data
139
+ - Some noise exists in the annotations; manual corrections were applied where identified but the dataset is not exhaustively verified
140
+ - Limited age range representation at extremes (few samples under 20 or over 80)
141
+ - Height and weight distributions may reflect celebrity demographics
142
+
143
+ ## Ethical Considerations
144
+
145
+ This dataset uses publicly available images of celebrities. Users should be mindful of:
146
+ - Privacy implications when developing attribute estimation systems
147
+ - Potential biases in celebrity image datasets
148
+ - Responsible use in downstream applications
149
+
150
+ ## Citation
151
+
152
+ If you use this dataset, please cite the original paper:
153
+
154
+ ```bibtex
155
+ @misc{debnath2024celebfbibenchmarkdatasethuman,
156
+ title={Celeb-FBI: A Benchmark Dataset on Human Full Body Images and Age, Gender, Height and Weight Estimation using Deep Learning Approach},
157
+ author={Pronay Debnath and Usafa Akther Rifa and Busra Kamal Rafa and Ali Haider Talukder Akib and Md. Aminur Rahman},
158
+ year={2024},
159
+ eprint={2407.03486},
160
+ archivePrefix={arXiv},
161
+ primaryClass={cs.CV},
162
+ url={https://arxiv.org/abs/2407.03486},
163
+ }
164
+ ```
165
+
166
+ **Paper:** [arXiv:2407.03486](https://arxiv.org/abs/2407.03486)
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04f8a6d89ab1d86054a61bae5c0c7d122144cb067b7d3929cd43d9f71e6cfe5b
3
+ size 162351055
data/train-00000-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4bbf9719eb51c63cec8a3e012cf695734a8bbd81280e8764fe242a5bc0f120e
3
+ size 466692809
data/train-00001-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98b45f1e7558ab22a9de71e08d131eff5f66a3a1029bd14e04a1e49fd38245cf
3
+ size 491864225
data/train-00002-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec1fc1cebd30b3981c9af859ab64af0270f37077c32bc7712ff7c5ee4c82a228
3
+ size 466906109