TotalSegmentator-KonfAI

KonfAI-accelerated adaptation of TotalSegmentator β€” whole-body multi-organ CT / MRI segmentation, built with KonfAI.

🧩 Models

Task Modality Labels Ensemble Notes
total CT 117 5 full accuracy
total-3mm CT 117 1 fast (3 mm)
total_mr MRI 50 2
total_mr-3mm MRI 50 1 fast (3 mm)
teeth CBCT / CT 77 1 0.5 mm, crops to the teeth craniofacial_structures finds
craniofacial_structures CT / CBCT 7 1 0.5 mm, whole image
lung_vessels CT 4 1 crops to the lungs total-3mm-crop finds
total-3mm-crop CT 117 1 3 mm, as TotalSegmentator runs it to crop

3D residual UNet Β· patch [96, 128, 160] Β· resampled to 1.5 mm. teeth, craniofacial_structures, lung_vessels and total-3mm-crop keep their nnU-Net plans' patch and spacing, and need a KonfAI newer than 1.8.8 (an app that runs another one first).

πŸš€ Usage

pip install totalsegmentator-konfai
totalsegmentator-konfai segment total -i input_ct.nii.gz -o output/
  • Generic runner: konfai-apps infer VBoussot/TotalSegmentator-KonfAI:total -i input_ct.nii.gz -o output/
  • Interactive: SlicerKonfAI β€” the βš™ Advanced dialog overrides patch size and batch size.

⚑ Performance & VRAM

Same input, same weights (Datasets 291–295, 1.5 mm, 5-model total), same PyTorch build (2.12.1, cu13.0), single NVIDIA RTX PRO 5000 (24 GB), TotalSegmentator 2.18.0. Peak RAM = process-tree resident set; peak VRAM = over baseline. Measured with KonfAI's benchmarks/perf/bench_apps.py (2026-09-09).

Case (voxels) Tool Time Peak RAM Peak VRAM
S (240 Γ— 220 Γ— 200) KonfAI 7.6 s 5.0 GB 12.3 GB
Original 29.9 s 22.6 GB 3.3 GB
M (249 Γ— 246 Γ— 246) KonfAI 17.7 s 5.2 GB 15.4 GB
Original 58.3 s 25.2 GB 7.1 GB
L (512 Γ— 512 Γ— 531) KonfAI 212 s 17.6 GB 10.6 GB
Original 377 s 47.9 GB 23.1 GB

1.8–3.9Γ— faster, 2.7–4.8Γ— less host RAM. KonfAI trades more VRAM on small/medium cases (larger patches, GPU accumulation) for the speed-up while staying inside 24 GB; on large cases streaming bounds VRAM (10.6 GB) where the original nears the card limit (23.1 GB), so KonfAI is then lighter on both RAM and VRAM. The batch size is auto-selected from your free VRAM; on cards below 24 GB use total-3mm (1 model, 3 mm). Override with --patch-size / --batch-size.

πŸ”— Links

Downloads last month
1,934
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including VBoussot/TotalSegmentator-KonfAI