ISIC 2018 (skin lesions) (2018)
Dermoscopy photos of moles and other skin lesions, each with an expert outline of the lesion.
Why it matters
Melanoma is curable when caught early, and dermatologists judge moles by looking at them through a dermatoscope, a task that seemed made for image models. The ISIC archive and its yearly challenges (from 2016) gave the field its public benchmark. Images from the archive were part of the data behind Esteva et al. (Nature, 2017), the paper that reported dermatologist-level skin cancer classification, and the 2018 lesion outlines are a standard test for medical segmentation models like U-Net.
Get the data
# pip install -U huggingface_hub
hf download MedOtter/ISIC2018 --repo-type dataset \
--local-dir isicfrom datasets import load_dataset # pip install datasets
ds = load_dataset("MedOtter/ISIC2018")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/MedOtter/ISIC2018@~parquet/default/train/*.parquet")
print(df.shape)A Parquet copy of the task 1 images and lesion masks. Every year's challenge data, including the diagnoses, is on the ISIC Challenge site.
- Year
- 2018
- Creators
- International Skin Imaging Collaboration (Noel Codella, Veronica Rotemberg, Philipp Tschandl, M. Emre Celebi, Allan Halpern and others)
- Task
- Skin lesion segmentation and melanoma classification
- Size
- 3,694 images with lesion masks (task 1); 10,015 training images (11,720 total) in 7 diagnoses (task 3, HAM10000)
- Splits
- train 2,594 · validation 100 · test 1,000
- Input
- Dermoscopy photo (a magnified, lit view of the skin), from 540×722 to 6,708×4,439 pixels
- Labels
- A mask of the lesion (task 1); its dermoscopic features (task 2); one of 7 diagnoses (task 3)
- License
- CC0 (tasks 1 and 2); CC BY-NC 4.0 (task 3, HAM10000)
- Paper
- Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)
Samples

lesion 4%

lesion 13%

lesion 6%

lesion 1%

lesion 3%

lesion 45%

lesion 21%

lesion 16%

lesion 7%

lesion <1%

lesion 10%

lesion 10%
What one record actually looks like (raw JSON, row 577)
{
"image": {
"height": 2848,
"src": "samples/isic/577-image.jpg",
"width": 4288
},
"image_id": "ISIC_0006711",
"mask": {
"classes": {
"0": 0.9647,
"1": 0.0353
},
"height": 510,
"src": "samples/isic/577-mask.png",
"width": 768
}
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-08 from MedOtter/ISIC2018 at revision 0217b65
Worth knowing
- Models learned shortcuts. Surgical ink marks and rulers, which dermatologists add to suspicious lesions, made a network more likely to call a mole melanoma.
- Almost all images are of light skin. Models trained on ISIC do noticeably worse on darker skin, which later datasets (Fitzpatrick 17k, DDI) set out to measure.
- Task 1 was scored by the overlap (Jaccard index) of the predicted and the expert outline, counting any image below 0.65 as a failure.
- The task 3 images, HAM10000, were collected over 20 years in Vienna and Queensland.
Related datasets
- PH2: 2013, 200 dermoscopy images from Portugalfc.up.pt ↗
- HAM10000: 2018, the 10,015 images of task 3, with diagnosesdoi.org ↗
- SIIM-ISIC Melanoma (ISIC 2020): 2020, 33,126 images from 2,056 patients, a Kaggle competitionchallenge.isic-archive.com ↗
- Fitzpatrick 17k: 2021, clinical photos labeled with skin typegithub.com ↗
- ChestX-ray14: 2017, the other big public medical image benchmarkHugging Face ↗ChestX-ray14 on this site →
Landmark papers
- U-Net: Convolutional Networks for Biomedical Image Segmentation (2015)
- Dermatologist-level classification of skin cancer with deep neural networks (2017)
- Association Between Surgical Skin Markings in Dermoscopic Images and Diagnostic Performance of a Deep Learning Convolutional Neural Network for Melanoma Recognition (2019)
- Disparities in dermatology AI performance on a diverse, curated clinical image set (2022)