wasserth / TotalSegmentator

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

heart chamber task hangs when saving segmentations #390

Open lukasvaz opened 2 weeks ago

lukasvaz commented 2 weeks ago

I am currently running experiments using the heart chambers task on a set of NIfTI files (using python API). It works fine for most cases, but for files larger than ~ 200 MB, it hangs while saving, sometimes for at least 20 minutes (or sometimes just crashes).I tried compressing the files to .gz but im still getting the problem with the exact same files. Are there any solutions to this issue? or are just hardware constraints ? im running it on ubuntu 22.04.

image

wasserth commented 6 days ago

This typically happens when you run into RAM limits. You need more RAM or a smaller image.