File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 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/
You can’t perform that action at this time.
0 commit comments