Back to Trending
Dataset
Raymvp12

Raymvp12/focusmil-camelyon16

Datasets used in FocusMIL paper The Camelyon16 and Camelyon16-Standard-MIL-test datasets used in From Correlation to Causation: Max-Pooling-Based Multi-Instance Learning Leads to More Robust Whole Slide Image Classification (FocusMIL). Code: FocusMIL-and-other-max-pooling-methods These are pre-extracted patch features — you do not need the raw whole-slide images. Slide classification, patch-level metrics, and FROC localization all run directly off the files here. For Camelyon17… See the full description on the dataset page: https://huggingface.co/datasets/Raymvp12/focusmil-camelyon16.

5likes
1.1kdownloads
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: arxiv:2408.09449

#1 Repository of the week

1
TINIX TRENDING·Topic: camelyon16

#1 Repository of the week

1
TINIX TRENDING·Topic: computational-pathology

#1 Repository of the week

Datasets used in FocusMIL paper

The Camelyon16 and Camelyon16-Standard-MIL-test datasets used in From Correlation to Causation: Max-Pooling-Based Multi-Instance Learning Leads to More Robust Whole Slide Image Classification (FocusMIL).

Code: FocusMIL-and-other-max-pooling-methods

These are pre-extracted patch features — you do not need the raw whole-slide images. Slide classification, patch-level metrics, and FROC localization all run directly off the files here.

For Camelyon17, see the AEM repository, whose publicly released features we use.

What's in here

Directorydata_tagBackboneDimSize
Camelyon16feat_256_10x/c16_realResNet18 (ImageNet)5125.3 GB
CTransPath_feature/c16_real_ctransCTransPath (SSL)7687.9 GB
camelyon16-standard-MIL-test/c16_semi075ResNet18, semi-synthetic5125.3 GB
froc_features/—per-slide feats + level-0 coords—4.3 GB
masks_c16_test.tar.gz—47 GT tumor masks (tarball)—60 MB

Patches are 256×256 at 10×. ~23 GB total (~27 GB on disk once the masks are extracted).

Usage

Download, mask extraction, directory layout, file format, and the training commands are documented in the code repo — see docs/DATASETS.md.

hf download Raymvp12/focusmil-camelyon16 --repo-type dataset --local-dir /path/to/camelyon16

MANIFEST.sha256 lets you verify nothing was truncated:

cd /path/to/camelyon16 && grep -v '^#' MANIFEST.sha256 | awk '{print $1"  "$3}' | sha256sum -c -

The Standard MIL Test (camelyon16-standard-MIL-test/)

A controlled probe of the standard MIL assumption, not a second copy of the data.

Attention-based and TransMIL-style methods pool instances through a learnable weighted combination, so they can exploit negative evidence — a pattern whose presence correlates with the negative bag label.

This benchmark plants exactly such a pattern. In the training set we introduce a poison by randomly selecting 20% of the patches in the normal slides and increasing the intensity of their green channel — a negative shortcut: a cue that correlates with the negative bag label but is causally irrelevant to tumour. In the test set we poison 20% of the patches in the tumour slides in the same way, so the shortcut now points the wrong way.

A method that leans on negative evidence is fooled and its slide AUC collapses; a max-pooling model, which predicts only from positive evidence, stays robust.

Any method whose slide AUC falls below 0.5 on this benchmark violates the standard MIL assumption — it is predicting from negative evidence rather than from positive evidence.

Format and labels are identical to c16_real; only the features change. Select it with the c16_semi075 data tag, and compare its slide AUC against c16_real.

Citation

@misc{liu2025correlationcausationmaxpoolingbasedmultiinstance,
      title={From Correlation to Causation: Max-Pooling-Based Multi-Instance Learning Leads to More Robust Whole Slide Image Classification},
      author={Xin Liu and Weijia Zhang and Wei Tang and Thuc Duy Le and Jiuyong Li and Lin Liu and Min-Ling Zhang},
      year={2025},
      eprint={2408.09449},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2408.09449},
}

Please also cite the original Camelyon16 challenge.

License

The underlying Camelyon16 data is released under CC0 1.0 by the challenge organizers; these derived features are distributed under the same terms.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
dazhangyu123/ACMIL

Attention-Challenging Multiple Instance Learning for Whole Slide Image Classification (ECCV2024)

139
Apr 28, 2025
Dataset
Aignostics/OpenTME

OpenTME: Open-Access Tumor Microenvironment Profiles from TCGA OpenTME is an open-access project by Aignostics for academic researchers. It provides comprehensive spatial outputs for whole slide images (WSIs) of H&E-stained, formalin-fixed, paraffin-embedded slides from The Cancer Genome Atlas (TCGA). OpenTME is powered by HETA (H&E Tissue Analysis) – a computational pathology application developed by Aignostics. HETA HETA is a foundation model-based application… See the full description on the dataset page: https://huggingface.co/datasets/Aignostics/OpenTME.

♥0
889
Nov 30, 2026
RepositoryPython
ChongQingNoSubway/DGR-MIL

Code for paper: DGR-MIL: Exploring Diverse Global Representation in Multiple Instance Learning for Whole Slide Image Classification [ECCV 2024]

154
Dec 18, 2024
Dataset
fka/prompts.chat

a.k.a. Awesome ChatGPT Prompts This is a Dataset Repository mirror of prompts.chat — a social platform for AI prompts. 📢 Notice This Hugging Face dataset is a mirror. For the latest prompts, features, and community contributions, please visit: 🌐 Website: prompts.chat 📦 GitHub: github.com/f/awesome-chatgpt-prompts About prompts.chat is an open-source platform where users can share, discover, and collect AI prompts from the community. The project can… See the full description on the dataset page: https://huggingface.co/datasets/fka/prompts.chat.

♥0
24.6k
Nov 30, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
Dataset
PNNL/NEPATEC3.0

National Environmental Policy Act Text Corpus (NEPATEC3.0) Dataset Description The National Environmental Policy Act of 1969, as amended (NEPA), is a major environmental law in the United States, requiring Federal agencies to consider and document potential environmental impacts before deciding on a proposed action. Modernization of NEPA and permitting processes faces significant challenges due to the lack of standardized formats and interoperable systems for… See the full description on the dataset page: https://huggingface.co/datasets/PNNL/NEPATEC3.0.

♥0
508.6k
Oct 9, 2026
Dataset
biglam/british-library-book-images

British Library Book Images 1,080,814 images cut out of 49,455 digitised books (65,227 volumes, ~25 million pages) published between c. 1510 and c. 1900, digitised by the British Library in partnership with Microsoft and released by British Library Labs on Flickr Commons as the "1 Million Images from Scanned Books" release. The books cover geography, philosophy, history, poetry and literature, in several languages. The four image types British Library Labs… See the full description on the dataset page: https://huggingface.co/datasets/biglam/british-library-book-images.

♥0
4.6k
Aug 18, 2026
Dataset
imageomics/TreeOfLife-200M

Dataset Card for TreeOfLife-200M If you are looking for the original release TreeOfLife-200M dataset, as used in training BioCLIP 2 and presented the paper, please see Revision a8f38b4. The dataset, as presented here, was used to train BioCLIP 2.5 Huge; it completes the dataset cleaning process and resolves an issue where Observation.org occurrences were not included in the training data. With 233 million images representing 933,798 taxa across the tree of life, TreeOfLife-200M… See the full description on the dataset page: https://huggingface.co/datasets/imageomics/TreeOfLife-200M.

♥0
24.6k
May 29, 2026
Dataset
ratschlab/TCGA_virtual_spatial_transcriptomics_atlas

TCGA virtual spatial transcriptomics atlas This repository contains predicted spatial transcriptomics for TCGA H&E slides, both fresh-frozen (FF) and formalin-fixed paraffin-embedded (FFPE), produced with DeepSpot-M. Authors: Kalin Nonchev, Sebastian Dawo, Karina Silina, Viktor Hendrik Koelzer, and Gunnar Rätsch. Code: https://github.com/ratschlab/DeepSpotM. The DeepSpot-M preprint is available on medRxiv (see the citation below). Layout Files are stored as… See the full description on the dataset page: https://huggingface.co/datasets/ratschlab/TCGA_virtual_spatial_transcriptomics_atlas.

♥0
5.3k
Nov 18, 2026