PatchCamelyon (PCam): lymph node metastasis patch classification benchmark

Provider
Bastiaan Veeling et al. (from the CAMELYON16 challenge); Parquet conversion by 1aurent
License
CC0-1.0 (source)
Size
19 files
Format
Parquet (in sampled files)
Stored at
Hugging Face (https://huggingface.co/datasets/1aurent/PatchCamelyon)
Access
Free and public. No account with the data provider is needed.
Category
Health & Biomedical
Source
https://doi.org/10.1007/978-3-030-00934-2_24

About PatchCamelyon (PCam): lymph node metastasis patch classification benchmark

PatchCamelyon (PCam) is a histopathology image classification benchmark introduced by Veeling et al. (MICCAI 2018) as a medical counterpart to CIFAR-10. It consists of 327,680 colour patches of 96 x 96 pixels extracted from H&E-stained whole-slide images of sentinel lymph node sections in the CAMELYON16 challenge, undersampled to 10x. Each patch carries a binary label marking whether its centre 32 x 32 region contains tumour tissue. Splits are 262,144 training and 32,768 each for validation and test, with no slide overlap between splits and a 50/50 class balance. This repository is a Parquet conversion of the original HDF5 release with image and label columns. As measured 2026-11-14 it holds 17 Parquet shards under data/ totalling about 7.6 GB; load with datasets (load_dataset('1aurent/PatchCamelyon')) or pyarrow and decode images with PIL. Used for benchmarking CNNs and vision transformers on pathology, rotation-equivariant networks, self-supervised pretraining and pathology foundation model evaluation. The original PCam repository releases the data under CC0, matching CAMELYON16; cite Veeling et al. 2018 and Ehteshami Bejnordi et al. 2017.

How to load this dataset in Python

from datasets import load_dataset
ds = load_dataset("1aurent/PatchCamelyon")
print(ds)

Data structure

File types in sampled files: Parquet

Files

Example file: data/test-00000-of-00002-bb04e6313f58efa0.parquet

Analyze this dataset without downloading it

On Scigantic, PatchCamelyon (PCam): lymph node metastasis patch classification benchmark opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

This page is also available as Markdown and as JSON.

Related Health & Biomedical datasets