Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Couldn't reach 'deepmancer/baldy' on the Hub (LocalEntryNotFoundError)
Error code:   UnexpectedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

hairstyle_id
string
view
string
source
string
hairstyle_source_id
string
hair_image
image
bald_image
image
hair_render
image
background_image
image
render_params_json
string
background_prompt
string
camera_focal_length
float64
camera_location_x
float64
camera_location_y
float64
camera_location_z
float64
camera_rotation_x
float64
camera_rotation_y
float64
camera_rotation_z
float64
lighting_preset
string
body_gender
string
face_expression
string
hair_melanin
float64
hair_roughness
float64
has_garments
bool
views_available
string
1
front
difflocks
0_idx_1062
{ "camera": { "location": [ 0.05708490312099457, -1.427790880203247, 0.21848370134830475 ], "rotation": [ 1.5928484201431274, 2.6308116503059864e-06, 0.03996004909276962 ], "focal_length": 108.14714813232422, "camera_type": "PERSP", "clip_start": 0.01, ...
a stylish wine bar
108.147148
0.057085
-1.427791
0.218484
1.592848
0.000003
0.03996
studio
female
null
0.897377
0.683263
false
front
10
front
difflocks
0_idx_27178
{ "camera": { "location": [ -0.09157214313745499, -0.6267657279968262, 0.4638676643371582 ], "rotation": [ 1.2451750040054321, 2.618879307192401e-06, -0.14507712423801422 ], "focal_length": 52.360389709472656, "camera_type": "PERSP", "clip_start": 0.01, ...
a fairground with ferris wheel bokeh
52.36039
-0.091572
-0.626766
0.463868
1.245175
0.000003
-0.145077
rim
male
null
0.043274
0.24776
false
front
100
front
difflocks
11_idx_2639
{ "camera": { "location": [ -0.622186541557312, -1.05315363407135, 0.6572640538215637 ], "rotation": [ 1.249394178390503, 2.592802047729492e-06, -0.5336165428161621 ], "focal_length": 97.87682342529297, "camera_type": "PERSP", "clip_start": 0.01, "cl...
a hallway with framed art
97.876823
-0.622187
-1.053154
0.657264
1.249394
0.000003
-0.533617
rim
female
null
0.093486
0.66548
false
front
1000
front
difflocks
30_idx_1131
{ "camera": { "location": [ -0.35200047492980957, -1.1525213718414307, 0.6075434684753418 ], "rotation": [ 1.2823717594146729, 2.5555498268658994e-06, -0.29642045497894287 ], "focal_length": 95.51326751708984, "camera_type": "PERSP", "clip_start": 0.01, ...
a startup loft with whiteboard sketches
95.513268
-0.352
-1.152521
0.607543
1.282372
0.000003
-0.29642
natural
male
null
0.23085
0.429873
false
front
1001
front
difflocks
30_idx_1402
{ "camera": { "location": [ 0.256445974111557, -0.7044863104820251, 0.5436421632766724 ], "rotation": [ 1.1974881887435913, 2.6151537895202637e-06, 0.3491073548793793 ], "focal_length": 62.3787727355957, "camera_type": "PERSP", "clip_start": 0.01, "c...
a herringbone wood wall
62.378773
0.256446
-0.704486
0.543642
1.197488
0.000003
0.349107
studio
male
null
0.78883
0.430514
false
front
1002
front
difflocks
30_idx_25853
{ "camera": { "location": [ -0.2707471251487732, -1.6698318719863892, 0.8561957478523254 ], "rotation": [ 1.2267038822174072, 2.618879307192401e-06, -0.16074244678020477 ], "focal_length": 135.11141967773438, "camera_type": "PERSP", "clip_start": 0.01, ...
a pedestrian bridge
135.11142
-0.270747
-1.669832
0.856196
1.226704
0.000003
-0.160742
soft
female
null
0.285653
0.495383
false
front
1003
front
difflocks
30_idx_3125
{ "camera": { "location": [ -0.0808037593960762, -0.7021182179450989, 0.2183254063129425 ], "rotation": [ 1.6155834197998047, 2.6221396183245815e-06, -0.11458148807287216 ], "focal_length": 55.213871002197266, "camera_type": "PERSP", "clip_start": 0.01, ...
a science lab bench with glassware
55.213871
-0.080804
-0.702118
0.218325
1.615583
0.000003
-0.114581
rim
male
null
0.749334
0.319881
false
front
1004
front
difflocks
30_idx_33404
{ "camera": { "location": [ -0.18147976696491241, -1.7654472589492798, 0.7048101425170898 ], "rotation": [ 1.3199281692504883, 2.622605052238214e-06, -0.10243621468544006 ], "focal_length": 137.68734741210938, "camera_type": "PERSP", "clip_start": 0.01, ...
a chocolate shop counter
137.687347
-0.18148
-1.765447
0.70481
1.319928
0.000003
-0.102436
rim
male
null
0.857632
0.532644
false
front
1005
front
difflocks
30_idx_33735
{ "camera": { "location": [ -0.45210346579551697, -0.8680856823921204, 0.29179269075393677 ], "rotation": [ 1.5281226634979248, 2.5723127237142762e-06, -0.4801529347896576 ], "focal_length": 75.17442321777344, "camera_type": "PERSP", "clip_start": 0.01, ...
a cozy reading corner
75.174423
-0.452103
-0.868086
0.291793
1.528123
0.000003
-0.480153
three_point
female
null
0.293019
0.541401
false
front
1006
front
difflocks
30_idx_33894
{ "camera": { "location": [ -0.28917834162712097, -0.760792076587677, 0.2733059227466583 ], "rotation": [ 1.5421690940856934, 2.6635825634002686e-06, -0.3632359504699707 ], "focal_length": 63.04358673095703, "camera_type": "PERSP", "clip_start": 0.01, ...
a university courtyard
63.043587
-0.289178
-0.760792
0.273306
1.542169
0.000003
-0.363236
natural
female
null
0.72169
0.460224
false
front
1007
front
difflocks
30_idx_35370
{ "camera": { "location": [ 0.47426047921180725, -1.0868356227874756, 0.6806658506393433 ], "rotation": [ 1.2224246263504028, 2.689659595489502e-06, 0.4114589989185333 ], "focal_length": 95.84989929199219, "camera_type": "PERSP", "clip_start": 0.01, ...
a black sand beach
95.849899
0.47426
-1.086836
0.680666
1.222425
0.000003
0.411459
studio
female
null
0.515941
0.215679
false
front
1008
front
difflocks
30_idx_36069
{ "camera": { "location": [ -0.35019558668136597, -1.1190776824951172, 0.2741752862930298 ], "rotation": [ 1.5501824617385864, 2.624466787892743e-06, -0.30327874422073364 ], "focal_length": 89.3416748046875, "camera_type": "PERSP", "clip_start": 0.01, ...
a boathouse interior
89.341675
-0.350196
-1.119078
0.274175
1.550182
0.000003
-0.303279
outdoor
male
null
0.482044
0.471157
false
front
1009
front
difflocks
30_idx_41800
{ "camera": { "location": [ -0.2867632806301117, -0.5513303875923157, 0.4077474772930145 ], "rotation": [ 1.3222086429595947, 2.6449558845342835e-06, -0.4796219766139984 ], "focal_length": 50.35152816772461, "camera_type": "PERSP", "clip_start": 0.01, ...
a sunrise mountain overlook
50.351528
-0.286763
-0.55133
0.407747
1.322209
0.000003
-0.479622
soft
female
null
0.855739
0.527014
false
front
101
front
difflocks
11_idx_27226
{ "camera": { "location": [ 0.01786932721734047, -0.8645577430725098, 0.25833824276924133 ], "rotation": [ 1.5611542463302612, 2.62953108176589e-06, 0.02066577970981598 ], "focal_length": 66.7507095336914, "camera_type": "PERSP", "clip_start": 0.01, ...
a wheat field
66.75071
0.017869
-0.864558
0.258338
1.561154
0.000003
0.020666
outdoor
male
null
0.104164
0.591297
false
front
1010
front
difflocks
30_idx_42895
{ "camera": { "location": [ 0.08880148082971573, -1.130171298980713, 0.626805305480957 ], "rotation": [ 1.2499029636383057, 2.6468194391782163e-06, 0.07841148972511292 ], "focal_length": 90.93997192382812, "camera_type": "PERSP", "clip_start": 0.01, ...
a music rehearsal room
90.939972
0.088801
-1.130171
0.626805
1.249903
0.000003
0.078411
outdoor
female
null
0.001691
0.317522
false
front
1011
front
difflocks
30_idx_43180
{ "camera": { "location": [ -0.8242419362068176, -1.7789483070373535, 0.5717320442199707 ], "rotation": [ 1.4081486463546753, 2.559275571911712e-06, -0.43388497829437256 ], "focal_length": 149.03509521484375, "camera_type": "PERSP", "clip_start": 0.01, ...
a mottled canvas backdrop
149.035095
-0.824242
-1.778948
0.571732
1.408149
0.000003
-0.433885
rim
female
null
0.712882
0.279813
false
front
1012
front
difflocks
30_idx_43652
{ "camera": { "location": [ 0.15986235439777374, -0.5875024795532227, 0.4050823152065277 ], "rotation": [ 1.3213919401168823, 2.6002524009527406e-06, 0.2656720280647278 ], "focal_length": 49.40894317626953, "camera_type": "PERSP", "clip_start": 0.01, ...
a coastal village alley
49.408943
0.159862
-0.587502
0.405082
1.321392
0.000003
0.265672
soft
female
null
0.610435
0.48502
false
front
1013
front
difflocks
30_idx_44947
{ "camera": { "location": [ -0.6805878281593323, -1.163671851158142, 0.737814724445343 ], "rotation": [ 1.2235971689224243, 2.622603687996161e-06, -0.5292153358459473 ], "focal_length": 108.46620178222656, "camera_type": "PERSP", "clip_start": 0.01, ...
a marina dock
108.466202
-0.680588
-1.163672
0.737815
1.223597
0.000003
-0.529215
natural
male
null
0.66911
0.415011
false
front
1014
front
difflocks
30_idx_50523
{ "camera": { "location": [ -0.08016391098499298, -1.8804067373275757, 0.549919068813324 ], "rotation": [ 1.4127726554870605, 2.6221391635772306e-06, -0.04260575398802757 ], "focal_length": 143.0965118408203, "camera_type": "PERSP", "clip_start": 0.01, ...
a civic building rotunda
143.096512
-0.080164
-1.880407
0.549919
1.412773
0.000003
-0.042606
studio
male
null
0.431863
0.413131
false
front
1015
front
difflocks
30_idx_60801
{ "camera": { "location": [ 0.10730395466089249, -1.5638645887374878, 0.47306665778160095 ], "rotation": [ 1.4294416904449463, 2.640299726408557e-06, 0.0685068815946579 ], "focal_length": 119.44447326660156, "camera_type": "PERSP", "clip_start": 0.01, ...
a colonnaded arcade
119.444473
0.107304
-1.563865
0.473067
1.429442
0.000003
0.068507
studio
female
null
0.692124
0.474389
false
front
1016
front
difflocks
30_idx_66836
{ "camera": { "location": [ -0.09187138080596924, -0.7336761951446533, 0.2968510389328003 ], "rotation": [ 1.5075180530548096, 2.646818302309839e-06, -0.12457236647605896 ], "focal_length": 57.66518020629883, "camera_type": "PERSP", "clip_start": 0.01, ...
a market produce stall
57.66518
-0.091871
-0.733676
0.296851
1.507518
0.000003
-0.124572
outdoor
female
null
0.346174
0.698326
false
front
1017
front
difflocks
30_idx_66890
{ "camera": { "location": [ -0.45620882511138916, -1.129201054573059, 0.598480224609375 ], "rotation": [ 1.2921053171157837, 2.644956111907959e-06, -0.38395944237709045 ], "focal_length": 96.22846221923828, "camera_type": "PERSP", "clip_start": 0.01, ...
a lantern-lit side street
96.228462
-0.456209
-1.129201
0.59848
1.292105
0.000003
-0.383959
studio
male
null
0.52648
0.185059
false
front
1018
front
difflocks
30_idx_75101
{ "camera": { "location": [ -0.07535751909017563, -0.803963303565979, 0.4050893783569336 ], "rotation": [ 1.3810430765151978, 2.6226039153698366e-06, -0.09345998615026474 ], "focal_length": 63.631378173828125, "camera_type": "PERSP", "clip_start": 0.01, ...
a dental office lobby
63.631378
-0.075358
-0.803963
0.405089
1.381043
0.000003
-0.09346
studio
male
null
0.062129
0.662537
false
front
End of preview.

Baldy Dataset

Project Page Code Weights License

Baldy is a synthetic paired image dataset for bald conversion, hairstyle-transfer preprocessing, and 3D-aware hair research. It contains 6,400 identity-consistent hair/bald image pairs with auxiliary hair renders, background images, camera parameters, and rendering metadata.

Baldy is released with HairPort: In-context 3D-Aware Hair Import and Transfer for Images, accepted to ACM SIGGRAPH 2026.

Overview

Each Baldy sample provides a photorealistic image of a person with hair and a corresponding bald version of the same subject. The paired structure is designed to support training and evaluation of bald-conversion models, including the Bald Converter used by HairPort.

The dataset also includes intermediate rendering assets and metadata, making it useful for controlled experiments that require camera/view information, hairstyle provenance, or synthetic render supervision.

What's Included

Component Description
hair_image Photorealistic image of the subject with hair
bald_image Photorealistic bald version of the same subject
hair_render Blender-rendered hairstyle on a transparent background
background_image Generated or rendered scene background
Camera metadata Focal length, location, and rotation in Blender coordinates
Appearance metadata Hair material values, lighting preset, expression, body metadata
Source metadata Hairstyle source dataset and source-specific hairstyle ID

Dataset Construction

Baldy was generated with a multi-stage synthetic data pipeline:

  1. 3D hairstyle preparation. Hairstyles from DiffLocks, Hair20K, USC-HairSalon, and CT2Hair are aligned to SMPL-X head/body configurations with pose, expression, and garment variation.
  2. Blender rendering. Hair, body, camera, lighting, and material parameters are rendered at 1024 x 1024 resolution.
  3. Photorealistic paired generation. ControlNet++ and SDXL-based generation, followed by FLUX Kontext refinement, are used to produce identity-consistent hair/bald image pairs.

Dataset Statistics

Split Samples
train 6,400

View Distribution

View Samples
front 6,009
side 292
back 99

The current release is front-view dominant. Users training view-balanced models may want to account for this distribution during sampling or evaluation.

Hairstyle Source Distribution

Source Samples
difflocks 3,197
hair20k 2,824
usc 370
ct2hair 9

Data Fields

Identity, View, And Source

Field Type Description
hairstyle_id string Unique zero-padded sequential ID, such as "000042"
view string Camera view: "front", "side", or "back"
source string Hairstyle source: "difflocks", "hair20k", "usc", or "ct2hair"
hairstyle_source_id string Source-specific hairstyle identifier
views_available string Pipe-separated list of views available for the hairstyle, such as `"front

Image Columns

Field Type Description
hair_image Image Photorealistic image of the subject with hair, decoded as a PIL image
bald_image Image Photorealistic bald image of the same subject, decoded as a PIL image
hair_render Image Blender-rendered hair layer, decoded as a PIL image
background_image Image Background image, decoded as a PIL image

Camera And Rendering Metadata

Field Type Description
render_params_json string Full Blender render parameters as an embedded JSON string
background_prompt string Text prompt used to generate the background, empty when unavailable
camera_focal_length float64 Camera focal length in millimeters
camera_location_x float64 Camera X position in Blender world coordinates
camera_location_y float64 Camera Y position in Blender world coordinates
camera_location_z float64 Camera Z position in Blender world coordinates
camera_rotation_x float64 Camera X rotation in radians
camera_rotation_y float64 Camera Y rotation in radians
camera_rotation_z float64 Camera Z rotation in radians
lighting_preset string Lighting preset name

Appearance Metadata

Field Type Description
body_gender string SMPL-X body gender configuration
face_expression string Facial expression label; empty for some samples
hair_melanin float64 Hair melanin value controlling color darkness
hair_roughness float64 Hair surface roughness value
has_garments bool Whether BEDLAM clothing is applied to the body

Quick Start

Install the Hugging Face datasets package if needed:

pip install datasets

Load the dataset:

from datasets import load_dataset

ds = load_dataset("deepmancer/baldy", split="train")
sample = ds[0]

hair = sample["hair_image"]  # PIL.Image: subject with hair
bald = sample["bald_image"]  # PIL.Image: same subject without hair

Save a paired sample:

sample["hair_image"].save("hair.png")
sample["bald_image"].save("bald.png")
sample["hair_render"].save("hair_render.png")
sample["background_image"].save("background.png")

Common Usage Patterns

Filter by camera view:

front = ds.filter(lambda row: row["view"] == "front")
side = ds.filter(lambda row: row["view"] == "side")
back = ds.filter(lambda row: row["view"] == "back")

Filter by hairstyle source:

hair20k = ds.filter(lambda row: row["source"] == "hair20k")
difflocks = ds.filter(lambda row: row["source"] == "difflocks")

Read Blender render parameters:

import json

params = json.loads(sample["render_params_json"])
print(params.keys())

Stream the dataset without downloading all shards:

from datasets import load_dataset

stream = load_dataset("deepmancer/baldy", split="train", streaming=True)
for row in stream:
    print(row["hairstyle_id"], row["view"], row["source"])
    break

File Format

Baldy is stored as sharded Parquet files with embedded image bytes:

data/
├── train-00000-of-NNNNN.parquet
├── train-00001-of-NNNNN.parquet
├── ...
└── train-NNNNN-of-NNNNN.parquet

No external image files are required. Image columns are decoded automatically as PIL images by the datasets library.

Intended Uses

Baldy is intended for research and development in:

  • bald-conversion model training
  • hairstyle-transfer preprocessing
  • paired image-to-image translation
  • synthetic data studies for hair and head rendering
  • controlled evaluation of hair removal and reconstruction pipelines
  • HairPort-style 3D-aware hair import and transfer systems

Limitations And Responsible Use

Baldy is a synthetic dataset. Its distribution reflects the hairstyle sources, SMPL-X configurations, rendering settings, and generative refinement pipeline used to create it. The current release is also front-view dominant.

Generated samples may contain artifacts or biases inherited from the rendering and image-generation stages. Users should inspect samples before using the dataset in production settings.

This dataset is not designed as a demographic benchmark and should not be used for sensitive identity, demographic, or attribute-inference tasks.

Related Resources

Citation

If you use Baldy or HairPort in your research, please cite:

@inproceedings{heidari2026hairport,
  title     = {HairPort: In-context 3D-Aware Hair Import and Transfer for Images},
  author    = {A. Heidari and A. Alimohammadi and W. Michel Pinto Lira and A. Bar-Lev and A. Mahdavi-Amiri},
  booktitle = {ACM SIGGRAPH 2026},
  year      = {2026}
}

License

Baldy is released under the Creative Commons Attribution 4.0 International License license.

Downloads last month
178