- Clone this repository
- (Optional) Edit first line of dockerfile if using AMD GPU
- Navigate to the repository directory
- Build docker container
docker build -t meglaficus/totally_segment .
- Have this kind of folder structure ready:
├── files
│ ├── CT
│ │ ├── 00001.nii.gz
│ │ ├── 00002.nii.gz
│ │ ├── 00003.nii.gz
│ │ ├── ...
│ ├── TotalSeg
- Run the container (change command to include path to "files" directory)
docker run --gpus all -it -v /path/to/files/directory/:/home/app/files --shm-size=24gb meglaficus/totally_segment
- Execute the program
cd ../home/app
python totally_segment.py
exit
See https://github.com/wasserth/TotalSegmentator for more info