Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,111 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- medical
|
| 7 |
+
- pathology
|
| 8 |
+
size_categories:
|
| 9 |
+
- 100B<n<1T
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# CPathPatchFeature: Pre-extracted WSI Features for Computational Pathology
|
| 13 |
+
|
| 14 |
+
## Dataset Summary
|
| 15 |
+
|
| 16 |
+
This dataset provides a comprehensive collection of pre-extracted features from Whole Slide Images (WSIs) for various cancer types, designed to facilitate research in computational pathology. The features are extracted using multiple state-of-the-art encoders, offering a rich resource for developing and evaluating Multiple Instance Learning (MIL) models and other deep learning architectures.
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
The repository contains features for the following public datasets:
|
| 20 |
+
- **PANDA**: Prostate cANcer graDe Assessment
|
| 21 |
+
- **TCGA-BRCA**: Breast Cancer in TCGA
|
| 22 |
+
- **TCGA-NSCLC**: Non-Small Cell Lung Cancer in TCGA
|
| 23 |
+
- **TCGA-BLCA**: Bladder Cancer in TCGA
|
| 24 |
+
- **CAMELYON**: Cancer Metastases in Lymph Nodes
|
| 25 |
+
- **CPTAC-NSCLC**: Non-Small Cell Lung Cancer in CPTAC
|
| 26 |
+
|
| 27 |
+
## Dataset Structure
|
| 28 |
+
|
| 29 |
+
The features for each WSI dataset are organized into subdirectories. Each subdirectory contains the features extracted by a specific encoder, along with the corresponding patch coordinates.
|
| 30 |
+
|
| 31 |
+
### Feature Encoders
|
| 32 |
+
The following encoders were used to generate the features:
|
| 33 |
+
- **UNI**: A vision-language pretrained model for pathology ([UNI by Chen et al.](https://www.nature.com/articles/s41591-024-02857-3)).
|
| 34 |
+
- **CHIEF**: A feature extractor based on self-supervised learning for pathology ([CHIEF by Wang et al.](https://www.nature.com/articles/s41586-024-07894-z)).
|
| 35 |
+
- **GIGAP**: A Giga-Pixel vision model for pathology ([GigaPath by Xu et al.](https://www.nature.com/articles/s41586-024-07441-w)).
|
| 36 |
+
- **R50**: A ResNet-50 model pre-trained on ImageNet.
|
| 37 |
+
|
| 38 |
+
Some data may not be fully organized yet. If you have specific needs or questions, please feel free to open an issue in the community tab.
|
| 39 |
+
|
| 40 |
+
## How to Use
|
| 41 |
+
|
| 42 |
+
You can load and access the dataset using the Hugging Face `datasets` library or by cloning the repository with Git LFS.
|
| 43 |
+
|
| 44 |
+
### Using the `datasets` Library
|
| 45 |
+
|
| 46 |
+
To load the data, you can use the following Python code:
|
| 47 |
+
|
| 48 |
+
```python
|
| 49 |
+
from datasets import load_dataset
|
| 50 |
+
|
| 51 |
+
# Load a specific subset (e.g., PANDA)
|
| 52 |
+
# Note: You may need to specify the data files manually depending on the configuration.
|
| 53 |
+
# Example for a hypothetical configuration named 'panda'
|
| 54 |
+
# ds = load_dataset("your-username/CPathPatchFeature", name="panda")
|
| 55 |
+
|
| 56 |
+
# For datasets with this structure, it's often easier to download and access files directly.
|
| 57 |
+
# We recommend using Git LFS for a complete download.
|
| 58 |
+
````
|
| 59 |
+
|
| 60 |
+
*Note: Due to the heterogeneous structure (mixed zipped and unzipped files), direct loading with `load_dataset` might be complex. The recommended approach is to clone the repository.*
|
| 61 |
+
|
| 62 |
+
### Using Git LFS
|
| 63 |
+
|
| 64 |
+
First, ensure you have Git LFS installed and configured:
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
git lfs install
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
Then, clone the dataset repository:
|
| 71 |
+
|
| 72 |
+
```bash
|
| 73 |
+
git clone [https://huggingface.co/datasets/your-username/CPathPatchFeature](https://huggingface.co/datasets/your-username/CPathPatchFeature)
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
Replace `"your-username/CPathPatchFeature"` with the actual repository path on Hugging Face.
|
| 77 |
+
|
| 78 |
+
### Citation
|
| 79 |
+
This dataset has been used in the following publications. If you find it useful for your research, please consider citing them:
|
| 80 |
+
|
| 81 |
+
```bibtex
|
| 82 |
+
@misc{tang2025revisitingdatachallengescomputational,
|
| 83 |
+
title={Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Framework},
|
| 84 |
+
author={Wenhao Tang and Heng Fang and Ge Wu and Xiang Li and Ming-Ming Cheng},
|
| 85 |
+
year={2025},
|
| 86 |
+
eprint={2509.20923},
|
| 87 |
+
archivePrefix={arXiv},
|
| 88 |
+
primaryClass={cs.CV},
|
| 89 |
+
url={[https://arxiv.org/abs/2509.20923](https://arxiv.org/abs/2509.20923)},
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
@misc{tang2025multipleinstancelearningframework,
|
| 93 |
+
title={Multiple Instance Learning Framework with Masked Hard Instance Mining for Gigapixel Histopathology Image Analysis},
|
| 94 |
+
author={Wenhao Tang and Sheng Huang and Heng Fang and Fengtao Zhou and Bo Liu and Qingshan Liu},
|
| 95 |
+
year={2025},
|
| 96 |
+
eprint={2509.11526},
|
| 97 |
+
archivePrefix={arXiv},
|
| 98 |
+
primaryClass={cs.CV},
|
| 99 |
+
url={[https://arxiv.org/abs/2509.11526](https://arxiv.org/abs/2509.11526)},
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
@misc{tang2025revisitingendtoendlearningslidelevel,
|
| 103 |
+
title={Revisiting End-to-End Learning with Slide-level Supervision in Computational Pathology},
|
| 104 |
+
author={Wenhao Tang and Rong Qin and Heng Fang and Fengtao Zhou and Hao Chen and Xiang Li and Ming-Ming Cheng},
|
| 105 |
+
year={2025},
|
| 106 |
+
eprint={2506.02408},
|
| 107 |
+
archivePrefix={arXiv},
|
| 108 |
+
primaryClass={cs.CV},
|
| 109 |
+
url={[https://arxiv.org/abs/2506.02408](https://arxiv.org/abs/2506.02408)},
|
| 110 |
+
}
|
| 111 |
+
```
|