Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,52 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
pretty_name: RSNAICHMIL
|
| 8 |
+
---
|
| 9 |
+
# RSNA-ICH - Multiple Instance Learning (MIL)
|
| 10 |
+
|
| 11 |
+
*Important.* This dataset is part of the [**torchmil** library](https://franblueee.github.io/torchmil/).
|
| 12 |
+
|
| 13 |
+
This repository provides an adapted version of the [RSNA Intra-Cranial Hemorrhage (RSNA-ICH) Detection dataset](https://www.kaggle.com/competitions/rsna-intracranial-hemorrhage-detection) tailored for **Multiple Instance Learning (MIL)**. It is designed for use with the [`RSNAMILDataset`](https://franblueee.github.io/torchmil/api/datasets/rsnamil_dataset/) class from the [**torchmil** library](https://franblueee.github.io/torchmil/). RSNA-ICH is a widely used benchmark in MIL research, making this adaptation particularly valuable for developing and evaluating MIL models.
|
| 14 |
+
|
| 15 |
+
### About the Original RSNA-ICH Dataset
|
| 16 |
+
|
| 17 |
+
The original [RSNA-ICH dataset](https://www.kaggle.com/competitions/rsna-intracranial-hemorrhage-detection) contains head CT scans. The task is to identify whether a CT scan contains acute intracranial hemorrhage and its subtypes. The dataset includes a label for each slice.
|
| 18 |
+
|
| 19 |
+
### Dataset Description
|
| 20 |
+
|
| 21 |
+
We have preprocessed the CT scans by computing features for each slice using various feature extractors.
|
| 22 |
+
|
| 23 |
+
- A **slice** is labeled as positive (`slice_label=1`) if it contains evidence of hemorrhage.
|
| 24 |
+
- A **CT scan** is labeled as positive (`label=1`) if it contains at least one positive slice.
|
| 25 |
+
|
| 26 |
+
This means a CT scan is considered positive if there is any evidence of hemorrhage.
|
| 27 |
+
|
| 28 |
+
### Directory Structure
|
| 29 |
+
|
| 30 |
+
After extracting the contents of the `.tar.gz` archives, the following directory structure is expected:
|
| 31 |
+
|
| 32 |
+
```
|
| 33 |
+
root
|
| 34 |
+
├── features
|
| 35 |
+
│ ├── features_{features}
|
| 36 |
+
│ │ ├── ctscan_name1.npy
|
| 37 |
+
│ │ ├── ctscan_name2.npy
|
| 38 |
+
│ │ └── ...
|
| 39 |
+
├── labels
|
| 40 |
+
│ ├── ctscan_name1.npy
|
| 41 |
+
│ ├── ctscan_name2.npy
|
| 42 |
+
│ └── ...
|
| 43 |
+
├── slice_labels
|
| 44 |
+
│ ├── ctscan_name1.npy
|
| 45 |
+
│ ├── ctscan_name2.npy
|
| 46 |
+
│ └── ...
|
| 47 |
+
└── splits.csv
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Each `.npy` file corresponds to a single CT scan. The `splits.csv` file defines train/test splits for standardized experimentation.
|
| 51 |
+
|
| 52 |
+
|