wasserth / TotalSegmentator

Tool for robust segmentation of >100 important anatomical structures in CT and MR images
Apache License 2.0
1.41k stars 233 forks source link

docker contains model parameters? #305

Closed jianjun0407 closed 1 month ago

jianjun0407 commented 3 months ago

I use the following command, https://github.com/wasserth/TotalSegmentator#run-via-docker, using docker, to call the algorithm. I have two questions: First, I found that the size is 27.2G. Is the parameter file of the model included in docker ? 图片1

Second, I do not find the model parameters file and config.json file on my local computer. If they are included in docker, how can I set "send_usage_stats" to False?

wasserth commented 2 months ago

The docker file contains the parameter files. This is one of the reasons for the large size of the docker container. It also contains the config.json file. If you want to set send_usage_stats manually you will either have to adapt the config file right before you call totalsegmentator or you can build the docker container yourself with the adaptations you want. The Dockerfile required to built the container is also in the repository.