Here is the official 2019 KiTS Challenge repository.
To get the data, please clone this repository, and then run get_imaging.py
. For example
git clone https://github.com/chi-sq/3DUNet
cd 3DUNet
pip3 install -r requirements.txt
python3 -m starter_code.get_imaging
This will download the much larger and static image files from a separate source. The data/
directory should then be structured as follows
data
├── case_00000
| ├── imaging.nii.gz
| └── segmentation.nii.gz
├── case_00001
| ├── imaging.nii.gz
| └── segmentation.nii.gz
...
├── case_00209
| ├── imaging.nii.gz
| └── segmentation.nii.gz
└── kits.json
And the you can divide them to train and validation datesets.
In the segmentation, a value of 0 represents background, 1 represents kidney, and 2 represents tumor.
You can move to 3DUNet_Tutorial.ipynb
to run this repository.