Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
87
3.87k
md5hash
stringlengths
32
32
label
stringclasses
114 values
nine_partition_label
stringclasses
9 values
three_partition_label
stringclasses
3 values
fitzpatrick_scale
int32
-1
6
fitzpatrick_centaur
int32
-1
6
qc
stringclasses
5 values
source
stringclasses
3 values
url
stringlengths
0
169
in_fitzpatrick17k_c
bool
2 classes
split
stringclasses
4 values
5e82a45bc5d78bd24ae9202d194423f8
drug induced pigmentary changes
inflammatory
non-neoplastic
3
3
null
dermaamin
https://www.dermaamin.co…igmentation1.jpg
true
val
fa2911a9b13b6f8af79cb700937cc14f
photodermatoses
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…ensitivity18.jpg
true
test
d2bac3c9e4499032ca8e9b07c7d3bc40
dermatofibroma
benign dermal
benign
2
3
null
dermaamin
https://www.dermaamin.co…atofibroma71.jpg
true
train
0a94359e7eaacd7178e06b2823777789
psoriasis
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…/psoriasis38.jpg
true
train
a39ec3b1f22c08a421fa20535e037bba
psoriasis
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…asis-scalp20.jpg
false
excluded
45f7fe0e10214e32e890cad9d29d4811
kaposi sarcoma
malignant dermal
malignant
6
5
null
dermaamin
https://www.dermaamin.co…sis-sarcoma4.jpg
true
train
6c395be9325dbb10e55497304b398253
neutrophilic dermatoses
inflammatory
non-neoplastic
2
2
null
dermaamin
https://www.dermaamin.co…t-syndrome98.jpg
true
train
9dc73230c77ab5c58dc1f11caef39ea2
granuloma annulare
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…a_annulare41.jpg
true
train
f23937e86de55c3471ac5d0143b67e08
nematode infection
inflammatory
non-neoplastic
4
4
null
dermaamin
https://www.dermaamin.co…va-migrans88.jpg
false
excluded
09d46db9589ff45436cda87c4abc946b
allergic contact dermatitis
inflammatory
non-neoplastic
3
2
null
dermaamin
https://www.dermaamin.co…ermatitis114.jpg
false
excluded
9bc21ae9502b720f604907ff56dbc4c7
necrobiosis lipoidica
inflammatory
non-neoplastic
-1
-1
null
dermaamin
https://www.dermaamin.co…abeticorum88.jpg
true
train
e702b1a7dc40aa1d8e85ccdb019c4ab2
neutrophilic dermatoses
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…t-syndrome50.jpg
true
train
ddcad677b7b1e9084f3f51a8e026aa8d
hidradenitis
inflammatory
non-neoplastic
5
5
null
dermaamin
https://www.dermaamin.co…uppurativa50.jpg
true
train
b87804452f60aa162a6d29c0f66a2466
melanoma
malignant melanoma
malignant
2
1
null
dermaamin
https://www.dermaamin.co…c/L/lmm/lmm6.jpg
false
excluded
d1fb87ee7ee50f997cd6497dd90d6bbb
acne vulgaris
inflammatory
non-neoplastic
4
2
1 Diagnostic
dermaamin
https://www.dermaamin.co…_vulgaris150.jpg
true
train
8438db40abd1eccfbc7ee4b469f1b6f1
necrobiosis lipoidica
inflammatory
non-neoplastic
4
3
null
dermaamin
https://www.dermaamin.co…iabeticorum7.jpg
false
excluded
2d57e08861beb72725ea40af58f9cd46
sarcoidosis
inflammatory
non-neoplastic
2
2
null
dermaamin
https://www.dermaamin.co…laque-form15.jpg
true
train
1e119546f5bc2b9165bb10ddd7fe5f69
xeroderma pigmentosum
genodermatoses
non-neoplastic
5
4
null
dermaamin
https://www.dermaamin.co…igmentosum13.jpg
true
train
4c3f795cf8eb72b946f9bd2642cf23c1
melanoma
malignant melanoma
malignant
6
5
null
dermaamin
https://www.dermaamin.co…a/melanoma17.jpg
true
train
99247c9fe486aa9ab71686c8e676c135
dermatofibroma
benign dermal
benign
2
1
null
dermaamin
https://www.dermaamin.co…atofibroma13.jpg
true
train
b09233673fc585369e723ec841ed0acb
actinic keratosis
malignant epidermal
malignant
5
3
null
dermaamin
https://www.dermaamin.co…_keratoses83.jpg
true
train
449d63bec3a88dc28c458d338c41cd0a
scleroderma
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…scleroderma3.jpg
false
excluded
7a06b6baf5155ffe9baafa3b410402ec
hidradenitis
inflammatory
non-neoplastic
4
3
null
dermaamin
https://www.dermaamin.co…uppurativa18.jpg
false
excluded
fb9640a13e0c11610684fe8c0f473cf2
syringoma
benign dermal
benign
2
2
null
dermaamin
https://www.dermaamin.co…/syringoma33.jpg
false
excluded
f968e591e15f47b544e551bc3cc5b8d3
folliculitis
inflammatory
non-neoplastic
2
2
null
dermaamin
https://www.dermaamin.co…lliculitis89.jpg
false
excluded
2dd9b408e01e715ddd3d272d3465261f
pityriasis lichenoides chronica
inflammatory
non-neoplastic
4
3
null
dermaamin
https://www.dermaamin.co…d_chronica31.jpg
true
val
076dbdc23a42e011f5871f1261c6e3b5
porphyria
inflammatory
non-neoplastic
3
1
null
dermaamin
https://www.dermaamin.co…nea-tarda100.jpg
true
test
cd38c6d449b05025a1e68bd94d387f47
dyshidrotic eczema
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…l_dysplasia4.jpg
false
excluded
890cf5d791c7e738d156ec3ea95fae5d
allergic contact dermatitis
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…dermatitis39.jpg
true
val
9a3af1bc39e115bcc6931170cf8a00bb
seborrheic dermatitis
inflammatory
non-neoplastic
2
2
null
dermaamin
https://www.dermaamin.co…dermatitis52.jpg
true
train
9d5a90fa3f6934608add10e698001760
prurigo nodularis
benign epidermal
benign
3
5
null
dermaamin
https://www.dermaamin.co…_nodularis27.jpg
true
test
4235913d0b8803702095b54856a07702
acne
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…by_steroids7.jpg
false
excluded
a1af72c02caeb90947880eb024b23ae1
neurofibromatosis
genodermatoses
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…n-syndrome90.jpg
true
train
31749f92677e70999c28fe49fbc6dafc
eczema
inflammatory
non-neoplastic
2
2
1 Diagnostic
dermaamin
https://www.dermaamin.co…ema/eczema99.jpg
true
test
5bd4fcff50e9a50c529080f03ab824a7
neurofibromatosis
genodermatoses
non-neoplastic
6
6
null
dermaamin
https://www.dermaamin.co…n-syndrome37.jpg
true
train
77a885f30ac2e7100dec35cdbfc9fa92
pediculosis lids
inflammatory
non-neoplastic
-1
-1
null
dermaamin
https://www.dermaamin.co…sis-capitis3.jpg
false
excluded
d2c77aa81ca884f99174471132bd3e24
basal cell carcinoma
malignant epidermal
malignant
1
1
null
dermaamin
https://www.dermaamin.co…_carcinoma33.jpg
true
train
e0c8193753f60351382d60934d4dbf1e
pityriasis rubra pilaris
inflammatory
non-neoplastic
5
5
null
dermaamin
https://www.dermaamin.co…ra_pilaris62.jpg
false
excluded
59ccb668671950ca657b6bc48213b763
pityriasis rosea
inflammatory
non-neoplastic
4
4
null
dermaamin
https://www.dermaamin.co…iasis_rosea6.jpg
true
train
a0adccb2c37a8ed14e0438ebf3d4f0d8
livedo reticularis
inflammatory
non-neoplastic
4
3
null
dermaamin
https://www.dermaamin.co…eticularis26.jpg
true
train
adc119731addaea687474d777ff1dc54
necrobiosis lipoidica
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…abeticorum55.jpg
true
test
9a42fde8716c42154e9457180f08f9b0
stevens johnson syndrome
inflammatory
non-neoplastic
3
2
null
dermaamin
https://www.dermaamin.co…n-syndrome27.jpg
true
train
9fbbb6fad5bdbf9476be1ec573a49ff5
erythema multiforme
inflammatory
non-neoplastic
5
3
null
dermaamin
https://www.dermaamin.co…multiforme11.jpg
false
excluded
fdfbcca21acc8015bfe3ab09b6e254b2
syringoma
benign dermal
benign
2
2
null
dermaamin
https://www.dermaamin.co…/syringoma37.jpg
false
excluded
13adab488f0d546393badd628e6b0cab
acrodermatitis enteropathica
genodermatoses
non-neoplastic
2
2
null
dermaamin
https://www.dermaamin.co…eropathica52.jpg
true
train
b919dab66b3ec2964fb73865d241942d
epidermolysis bullosa
genodermatoses
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…ckayne_type1.jpg
true
test
e34646f6778dbdc86130a4babf62d01b
psoriasis
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…-congenital4.jpg
true
train
5f4376e41dff7efbbb53ca5b9928919d
prurigo nodularis
benign epidermal
benign
5
4
null
dermaamin
https://www.dermaamin.co…_nodularis97.jpg
false
excluded
3ebdf5bc47b0a5db96b1cb22841b0fa0
dermatomyositis
inflammatory
non-neoplastic
3
3
null
dermaamin
https://www.dermaamin.co…tomyositis89.jpg
true
test
2b6ea0581d59b23e033bf2059c2ae6af
actinic keratosis
malignant epidermal
malignant
3
3
null
dermaamin
https://www.dermaamin.co…_keratoses26.jpg
true
train
27778fee07afbc98a74b0012ba6f76ff
urticaria
inflammatory
non-neoplastic
4
4
null
dermaamin
https://www.dermaamin.co…_urticaria31.jpg
true
train
6d2fb27bbaf2691ea85fa2ad7f334060
basal cell carcinoma morpheiform
malignant epidermal
malignant
2
1
1 Diagnostic
dermaamin
https://www.dermaamin.co…morpheiform6.jpg
false
excluded
970a43f132f9e171642f44f85112ea13
necrobiosis lipoidica
inflammatory
non-neoplastic
5
5
null
dermaamin
https://www.dermaamin.co…abeticorum30.jpg
false
excluded
a199b3d2956018f8d8bf6c57fb2fca59
vitiligo
inflammatory
non-neoplastic
2
3
null
dermaamin
https://www.dermaamin.co…o/vitiligo10.jpg
false
excluded
9fd9783c093d140d12bee4eaa67da1a0
erythema nodosum
inflammatory
non-neoplastic
3
3
null
dermaamin
https://www.dermaamin.co…ma-nodosum69.jpg
false
excluded
77c8889c5b1f7ed6df703cb73296d60a
psoriasis
inflammatory
non-neoplastic
3
4
null
dermaamin
https://www.dermaamin.co…s-pustular54.jpg
true
train
f1459b032c9853d78f2ba389040a3dad
psoriasis
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…iasis_nail84.jpg
true
test
9f8207a0d87de2ea85ae8d439e50641d
scleroderma
inflammatory
non-neoplastic
-1
1
null
dermaamin
https://www.dermaamin.co…scleredema28.jpg
true
train
6d4be984bf6407587a032f6080f099b2
lupus erythematosus
inflammatory
non-neoplastic
6
5
null
dermaamin
https://www.dermaamin.co…_verrucous11.jpg
true
train
a385043f505268bfad6448be4c018a68
lichen planus
inflammatory
non-neoplastic
4
3
null
dermaamin
https://www.dermaamin.co…llicularis13.jpg
false
excluded
6a37014ba090dce3237a1aeac8f5312a
psoriasis
inflammatory
non-neoplastic
2
2
null
dermaamin
https://www.dermaamin.co…iasis_nail97.jpg
true
train
56e697186c86b0eb09f19021ebe4b9a8
allergic contact dermatitis
inflammatory
non-neoplastic
2
2
1 Diagnostic
dermaamin
https://www.dermaamin.co…dermatitis53.jpg
true
train
d908bdbcab52fd0c69a248cc43d200ad
sun damaged skin
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…_water_burn1.jpg
true
train
f944b734a9fc37ff262da8b313300d25
drug eruption
inflammatory
non-neoplastic
1
2
null
dermaamin
https://www.dermaamin.co…_eruption141.jpg
true
test
67ac5bbaeb3f15071e74a36f64270aef
dermatofibroma
benign dermal
benign
-1
1
null
dermaamin
https://www.dermaamin.co…atofibroma57.jpg
true
train
23e9d3d002a88c0b3c5b9c5c95876d38
xeroderma pigmentosum
genodermatoses
non-neoplastic
5
5
null
dermaamin
https://www.dermaamin.co…igmentosum14.jpg
true
train
997d8434ffab55de06dc1759f4525d57
neutrophilic dermatoses
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…ngrenosum119.jpg
true
train
025074f01318b141392d5d8ae3824e8d
scabies
inflammatory
non-neoplastic
3
2
null
dermaamin
https://www.dermaamin.co…an_scabies43.jpg
false
excluded
d60b7061146729d32cfe2fba4b089278
cheilitis
inflammatory
non-neoplastic
2
3
null
dermaamin
https://www.dermaamin.co…al-syndrome3.jpg
true
train
805e1d42b9f0af58c33fc1f9e2c6d0e4
urticaria pigmentosa
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…pigmentosa19.jpg
true
train
3e9d90d0dbde2afe3fc1e0cd72f04379
behcets disease
inflammatory
non-neoplastic
2
-1
null
dermaamin
https://www.dermaamin.co…ets_disease4.jpg
true
val
bb18c8800c62e37bd21641ad30aa3982
nevocytic nevus
benign melanocyte
benign
3
2
null
dermaamin
https://www.dermaamin.co…ticn-nevus15.jpg
false
excluded
dab1abcb214f3e1cf7b509fa75972eb7
mycosis fungoides
malignant cutaneous lymphoma
malignant
4
4
null
dermaamin
https://www.dermaamin.co…s-fongoide99.jpg
true
test
9b39239bae217b6f29603dddf3f24d56
porphyria
inflammatory
non-neoplastic
3
1
null
dermaamin
https://www.dermaamin.co…anea-tarda51.jpg
false
excluded
abd80d96eade01f32e5bf22a33a735b5
neutrophilic dermatoses
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…t-syndrome53.jpg
true
test
81c007db8cc1bc57cb08bcc00dda653b
superficial spreading melanoma ssm
malignant melanoma
malignant
2
1
null
dermaamin
https://www.dermaamin.co…-melanoma112.jpg
true
test
5a3d754f30836ede76691cdf1b4f0cfb
porokeratosis of mibelli
benign epidermal
benign
3
1
null
dermaamin
https://www.dermaamin.co…of_mibelli56.jpg
true
train
a4fbf75b5f55d41fccfab653a7a1a5cf
psoriasis
inflammatory
non-neoplastic
4
-1
null
dermaamin
https://www.dermaamin.co…sis-genital7.jpg
true
train
677d022c11c0d454bf58e76ab26852f0
juvenile xanthogranuloma
inflammatory
non-neoplastic
2
2
null
dermaamin
https://www.dermaamin.co…ogranuloma57.jpg
true
train
62f8df393e05fd7e1588d70891238f53
milia
benign epidermal
benign
3
2
null
dermaamin
https://www.dermaamin.co…a/miliaria20.jpg
true
train
d6dfb47fe3c00e624af51b3548b8ee5e
granuloma pyogenic
benign dermal
benign
4
4
null
dermaamin
https://www.dermaamin.co…pyogenicum10.jpg
false
excluded
3eb192d5b5c1d44b6f52ab1bc6f390e6
papilomatosis confluentes and reticulate
inflammatory
non-neoplastic
3
3
null
dermaamin
https://www.dermaamin.co…eticulated18.jpg
false
excluded
6d3346e06233d2445f6b19075facfaed
sarcoidosis
inflammatory
non-neoplastic
3
2
null
dermaamin
https://www.dermaamin.co…odular-type1.jpg
false
excluded
a45a2533b5e4ac6b482b4bc8439e4166
neurotic excoriations
inflammatory
non-neoplastic
3
1
null
dermaamin
https://www.dermaamin.co…coriations39.jpg
true
train
b8bf2ccc8ceeb97d4bc30c16d536834f
neurofibromatosis
genodermatoses
non-neoplastic
2
3
1 Diagnostic
dermaamin
https://www.dermaamin.co…n-syndrome50.jpg
true
val
d98b961ecb24b31d672ca92d42fa644f
epidermal nevus
benign epidermal
benign
1
1
null
dermaamin
https://www.dermaamin.co…mal_naevus53.jpg
true
train
099c6e631e0f54a5a5ffe64dd938f21e
drug eruption
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…_eruption135.jpg
true
train
d6c626a40f77f7262353dc2db7e0b757
hidradenitis
inflammatory
non-neoplastic
4
2
null
dermaamin
https://www.dermaamin.co…uppurativa45.jpg
true
train
39b1853bbd7aee8beb2bd4be5bf0f922
dermatomyositis
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…tomyositis97.jpg
true
train
78cdc95d817a9c8e5cbe32a481673125
sun damaged skin
inflammatory
non-neoplastic
5
2
null
dermaamin
https://www.dermaamin.co…n/sun-burn27.jpg
true
test
04e8c9f72761f00075f2f70459d7027f
lupus erythematosus
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…thematosus45.jpg
true
val
730a5db8eee84f8637f31c2eeefbea61
naevus comedonicus
benign epidermal
benign
5
4
null
dermaamin
https://www.dermaamin.co…omedonicus20.jpg
false
excluded
055754f56bd5a8c37c3b7e01ae2caa35
erythema annulare centrifigum
inflammatory
non-neoplastic
1
1
null
dermaamin
https://www.dermaamin.co…entrifugum19.jpg
false
excluded
a7432cf3e4faf44ab58bcb093fb6a3bd
pilar cyst
benign dermal
benign
4
4
null
dermaamin
https://www.dermaamin.co…lid_dermoid2.jpg
true
train
53d69b9f140ac6b48514141564dc6b2f
eczema
inflammatory
non-neoplastic
2
3
null
dermaamin
https://www.dermaamin.co…ema/eczema48.jpg
true
val
c204c7c8443fbe404200e36285a8cae0
pustular psoriasis
inflammatory
non-neoplastic
-1
2
null
dermaamin
https://www.dermaamin.co…_psoriasis25.jpg
false
excluded
8d0095170ff1c91f2c6cd7c9a67270f5
scabies
inflammatory
non-neoplastic
-1
-1
null
dermaamin
https://www.dermaamin.co…an_scabies65.jpg
false
excluded
9838b6548e7842a1c228e9548a32099c
basal cell carcinoma
malignant epidermal
malignant
2
2
1 Diagnostic
dermaamin
https://www.dermaamin.co…basal_cell10.jpg
true
train
d565fec5dcef772cc1a7b9f76430eb77
ichthyosis vulgaris
genodermatoses
non-neoplastic
4
3
null
dermaamin
https://www.dermaamin.co…s_vulgaris20.jpg
true
train
a4c6b049eff3dc3080aa26feea752ef0
lyme disease
inflammatory
non-neoplastic
2
1
null
dermaamin
https://www.dermaamin.co…me-disease15.jpg
true
val
End of preview. Expand in Data Studio

Fitzpatrick17k

16,577 clinical dermatology images across 114 skin conditions, each labeled with a Fitzpatrick skin type, rebuilt as a single ready-to-load dataset with images embedded and the leakage-free Fitzpatrick17k-C split included.

Dataset on HuggingFace   License   Source

Fitzpatrick17k


Overview

This dataset packages the full Fitzpatrick17k corpus, 16,577 clinical photographs of 114 skin conditions, as a single Hugging Face dataset. Every image is embedded directly in the parquet files next to its labels: the condition, the original 3-way (malignant, benign, non-neoplastic) and 9-way groupings, both Fitzpatrick skin type annotations shipped with the original release, and the image's source atlas.

The labels are the official annotations from mattgroh/fitzpatrick17k, joined to the images by MD5 hash. Every image file was checked: its content hash matches its MD5 name in all 16,577 cases. Nothing was re-labeled.

The dataset also includes the cleaned subset and split from Fitzpatrick17k-C (Abhishek, Jain and Hamarneh, 2025). That work found duplicates, train/test leakage and erroneous images in the original release and published a corrected subset of 11,394 images with fixed train, validation and test partitions. Here every row carries in_fitzpatrick17k_c and split, so you can use the full corpus or the clean subset from the same table.

Statement of Need

Fitzpatrick17k is distributed as a CSV of annotations plus image URLs on two external atlas websites, and the original README notes that some links are broken. Getting the images means scraping those sites or requesting a download link from the authors, then joining by hash. The original release also has no standard split, and later work showed that random splits leak near-duplicate images between training and test sets. This dataset fixes both: all 16,577 images in one table, and the published leakage-free Fitzpatrick17k-C split attached to each row.

Intended Use

Intended for research on skin condition classification and on how model performance varies across Fitzpatrick skin types: benchmarking image classifiers, vision-language models and decision models by skin type, training models that perform consistently across skin types, and auditing dermatology AI for bias. Suitable for non-commercial academic research only, as required by the source license. Not intended for clinical deployment or diagnosis, and models trained on it should not be used to inform patient care.

Limitations

The images come from two online dermatology atlases (DermaAmin and Atlas Dermatologico), not from standardized clinical capture, so lighting, framing, resolution and image quality vary widely. The original paper reports that Fitzpatrick labels were annotated by Scale AI and Centaur Labs; they are estimates made from images, not patient-reported skin types, and the two annotations (fitzpatrick_scale, fitzpatrick_centaur) disagree on some images. Darker skin types are underrepresented: types 5 and 6 together make up 13% of images. Condition labels come from the source atlases and were not re-adjudicated here. The full corpus contains the duplicates and erroneous images documented by Abhishek et al.; use rows where split is not excluded for leakage-free evaluation. 41 rows have no source URL in the official CSV and are marked source = "unknown". The url column is kept as a record of where each image came from, but most links no longer work: in a check on November 29, 2026, 20 of 20 sampled DermaAmin URLs (the source of 12,631 images) returned "404 Not Found", while 20 of 20 sampled Atlas Dermatologico URLs still returned the image. This does not affect the dataset, since every image is embedded in the image column.

Dataset Structure

Splits

All rows are in one Hugging Face split (train). The split column holds the Fitzpatrick17k-C partition.

split value Images Meaning
train 7,975 Fitzpatrick17k-C training partition
val 1,139 Fitzpatrick17k-C validation partition
test 2,280 Fitzpatrick17k-C test partition
excluded 5,183 Removed by Fitzpatrick17k-C (duplicates, erroneous images and related cleaning)
Total 16,577

Fitzpatrick skin type (fitzpatrick_scale) by diagnostic group

Fitzpatrick type Malignant Benign Non-neoplastic Total
1 453 444 2,050 2,947
2 742 671 3,395 4,808
3 456 475 2,377 3,308
4 301 367 2,113 2,781
5 147 159 1,227 1,533
6 61 44 530 635
Not determined (-1) 103 74 388 565
Total 2,263 2,234 12,080 16,577

Features

Column Type Description
image Image The clinical photograph.
md5hash string MD5 hash of the image file, the key used in the original release.
label string Skin condition, one of 114.
nine_partition_label string Original 9-way grouping (for example inflammatory, malignant melanoma, benign melanocyte).
three_partition_label string Original 3-way grouping: malignant, benign or non-neoplastic.
fitzpatrick_scale int32 Fitzpatrick skin type 1 to 6 from the original fitzpatrick_scale column, -1 if not determined.
fitzpatrick_centaur int32 Second Fitzpatrick annotation from the original fitzpatrick_centaur column, -1 if not determined.
qc string Quality-control note from the original release, present for 504 images (for example 1 Diagnostic, 3 Wrongly labelled), otherwise null.
source string Source atlas: dermaamin, atlas_dermatologico, or unknown when the URL is blank.
url string Original image URL, kept for provenance. DermaAmin links returned "404 Not Found" as of November 29, 2026; Atlas Dermatologico links still work. Use the image column for the image.
in_fitzpatrick17k_c bool Whether the image is in the cleaned Fitzpatrick17k-C subset.
split string Fitzpatrick17k-C partition (train, val, test), or excluded.

Usage

from datasets import load_dataset

ds = load_dataset("Layered-Labs/Fitzpatrick17k")
print(ds)

example = ds["train"][0]
example["image"].show()
print("condition:", example["label"], "(", example["three_partition_label"], ")")
print("Fitzpatrick type:", example["fitzpatrick_scale"])

Example: leakage-free train, validation and test sets

train = ds["train"].filter(lambda r: r["split"] == "train")
val = ds["train"].filter(lambda r: r["split"] == "val")
test = ds["train"].filter(lambda r: r["split"] == "test")
print(len(train), len(val), len(test))

Example: malignant vs benign, by skin type

lesions = ds["train"].filter(lambda r: r["three_partition_label"] in ("malignant", "benign"))
for fst in range(1, 7):
    subset = lesions.filter(lambda r: r["fitzpatrick_scale"] == fst)
    print(fst, len(subset))

Citation

If you use this dataset, please cite this release, the original Fitzpatrick17k paper, and Fitzpatrick17k-C if you use the split column:

@dataset{layeredlabs2026fitzpatrick17k,
  title     = {Fitzpatrick17k},
  author    = {Ridwan, Abdullah and Hossain, Radhyyah and Noor, Saniya},
  year      = {2026},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/Layered-Labs/Fitzpatrick17k},
  note      = {Images and labels rebuilt from the original Fitzpatrick17k release, with the Fitzpatrick17k-C split}
}

@inproceedings{groh2021evaluating,
  title     = {Evaluating Deep Neural Networks Trained on Clinical Images in Dermatology with the Fitzpatrick 17k Dataset},
  author    = {Groh, Matthew and Harris, Caleb and Soenksen, Luis and Lau, Felix and Han, Rachel and Kim, Aerin and Koochek, Arash and Badri, Omar},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
  pages     = {1820--1828},
  year      = {2021},
  doi       = {10.1109/CVPRW53098.2021.00201}
}

@article{abhishek2025investigating,
  title   = {Investigating the Quality of DermaMNIST and Fitzpatrick17k Dermatological Image Datasets},
  author  = {Abhishek, Kumar and Jain, Aditi and Hamarneh, Ghassan},
  journal = {Scientific Data},
  volume  = {12},
  number  = {1},
  pages   = {196},
  year    = {2025},
  doi     = {10.1038/s41597-025-04382-5}
}

License

The original Fitzpatrick17k release is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License, as stated in the official repository. This repackaging is released under the same CC-BY-NC-SA-3.0 License: non-commercial use only, with attribution, and derivatives shared under the same terms. The images originate from the DermaAmin and Atlas Dermatologico websites. The Fitzpatrick17k-C partition information comes from the authors' Zenodo record, released under the CC-BY-4.0 License.

Maintained by Layered Labs.

Downloads last month
351