Skip to content

Building and running TotalSegmentator in Docker container

Notifications You must be signed in to change notification settings

meglaficus/Totally_segment_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Building and running TotalSegmentator in Docker container

  1. Clone this repository
  • (Optional) Edit first line of dockerfile if using AMD GPU
  1. Navigate to the repository directory
  2. Build docker container
docker build -t meglaficus/totally_segment .
  1. Have this kind of folder structure ready:
├── files
│   ├── CT
│   │   ├── 00001.nii.gz
│   │   ├── 00002.nii.gz
│   │   ├── 00003.nii.gz
│   │   ├── ...
│   ├── TotalSeg
  1. 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

  1. Execute the program
cd ../home/app
python totally_segment.py
exit

See https://github.com/wasserth/TotalSegmentator for more info

About

Building and running TotalSegmentator in Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published