Skip to content

Commit a940751

Browse files
committed
[+] update scripts.md
1 parent 75c5cb1 commit a940751

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

scripts/scripts.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
11
# Scripts
22

3-
- `compute_metrics.py`: This script calculates surface distances, Dice score, and Hausdorff distance.
3+
This document outlines the utility scripts available in the repository.
4+
5+
- `compute_metrics.py`
6+
Evaluates segmentation results by computing Dice score, Hausdorff distance, and surface distances.
7+
8+
- `convert_TCIA_to_nnunet.py`
9+
Converts the TCIA pediatric dataset into the nnU-Net compliant format.
10+
11+
- `create_totalseg_subset.py`
12+
Creates a balanced subset of the TotalSegmentator dataset for fingerprinting (P_m) on an equal number of pediatric and adult cases.
13+
14+
- `remap_labels.py`
15+
Remaps segmentation labels to adhere to our unified labeling scheme.
16+
17+
- `run_TotalSegmentator.sh`
18+
Executes the TotalSegmentator pipeline for baseline inference on various test sets.
19+
20+
## Installation
21+
22+
To evaluate segmentation results using `compute_metrics.py`, you need to install the `surface-distance` package. You can install it via pip:
23+
24+
```sh
25+
$ git clone https://github.com/deepmind/surface-distance.git
26+
$ pip install surface-distance/

0 commit comments

Comments
 (0)