0. Follow the installation instructions of nnDetection and create a data directory name `Task021_ProstateX`.
1. Download the data and labels and place them in the following structure:
```text
{det_data}
Task021_ProstateX
raw
ktrains
ProstateX
ProstateX-TrainingLesionInformationv2
rcuocolo-PROSTATEx_masks-e344452
```
We used the masks from the git hash e3444521e70cd5e8d405f4e9a6bc08312df8afe7 for our experiments.
For training only the T2 masks and T2,ADC and bVal high were used for training (no KTrains).
If you intend to use the Ktrains sequence, simply add it to the `dataset.json` file, the data is already prepared by the script.
2. Run `python prepare.py` in `projects / Task021_ProstateX / scripts` of the nnDetection repository.
The data is now converted to the correct format and the instructions from the nnDetection README can be used to train the networks.
Note: Since ProstateX only contains a fairly small number of clinically significant lesions and we used a 30% test split, we observed a fairly high variance in the performance of our runs.
- Masks: we used the masks provided by the same page
## Setup
0. Follow the installation instructions of nnDetection and create a data directory name `Task025_LymphNodes`.
1. Down the data and labels and place the data into `Task025_LymphNodes / raw / CT Lymph Nodes` and the labels into `Task025_LymphNodes / raw / MED_ABD_LYMPH_MASKS`
2. Run `python prepare.py` in `projects / Task025_LymphNodes / scripts` of the nnDetection repository.
The data is now converted to the correct format and the instructions from the nnDetection README can be used to train the networks.