I am having trouble with totalsegmentator, i tried most solution in the fourm but nothing worked. I tried the brevious version with slicer 5.4 and could not make it work, now I tried with slicer 5.5 review and totalsegmentator v2 and still no hope.
Traceback (most recent call last):
File “C:\Users\ahmad\AppData\Local\slicer.org\Slicer 5.5.0-2023-11-22\bin\Python\slicer\util.py”, line 3253, in tryWithErrorDisplay
yield
File “C:/Users/ahmad/AppData/Local/slicer.org/Slicer 5.5.0-2023-11-22/slicer.org/Extensions-32352/TotalSegmentator/lib/Slicer-5.5/qt-scripted-modules/TotalSegmentator.py”, line 292, in onApplyButton
self.logic.process(self.ui.inputVolumeSelector.currentNode(), self.ui.outputSegmentationSelector.currentNode(),
File “C:/Users/ahmad/AppData/Local/slicer.org/Slicer 5.5.0-2023-11-22/slicer.org/Extensions-32352/TotalSegmentator/lib/Slicer-5.5/qt-scripted-modules/TotalSegmentator.py”, line 967, in process
self.logProcessOutput(proc)
File “C:/Users/ahmad/AppData/Local/slicer.org/Slicer 5.5.0-2023-11-22/slicer.org/Extensions-32352/TotalSegmentator/lib/Slicer-5.5/qt-scripted-modules/TotalSegmentator.py”, line 787, in logProcessOutput
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)
subprocess.CalledProcessError: Command ‘[‘C:/Users/ahmad/AppData/Local/slicer.org/Slicer 5.5.0-2023-11-22/bin/…/bin\PythonSlicer.EXE’, ‘C:\Users\ahmad\AppData\Local\slicer.org\Slicer 5.5.0-2023-11-22\lib\Python\Scripts\TotalSegmentator.exe’, ‘-i’, ‘C:/Users/ahmad/AppData/Local/Temp/Slicer/__SlicerTemp__٢٠٢٣-١١-٢٤_٠٦+٠٥+٢٤.٦٥٢/total-segmentator-input.nii’, ‘-o’, ‘C:/Users/ahmad/AppData/Local/Temp/Slicer/__SlicerTemp__٢٠٢٣-١١-٢٤_٠٦+٠٥+٢٤.٦٥٢/segmentation’, ‘–ml’, ‘–task’, ‘total’, ‘–fast’, ‘–device’, ‘cpu’]’ returned non-zero exit status 1.
I also get this error:
Writing input file to C:/Users/ahmad/AppData/Local/Temp/Slicer/__SlicerTemp__٢٠٢٣-١١-٢٤_٠٦+١٤+٣٩.١٦٥/total-segmentator-input.nii
Creating segmentations with TotalSegmentator AI…
Total Segmentator arguments: [‘-i’, ‘C:/Users/ahmad/AppData/Local/Temp/Slicer/__SlicerTemp__٢٠٢٣-١١-٢٤_٠٦+١٤+٣٩.١٦٥/total-segmentator-input.nii’, ‘-o’, ‘C:/Users/ahmad/AppData/Local/Temp/Slicer/__SlicerTemp__٢٠٢٣-١١-٢٤_٠٦+١٤+٣٩.١٦٥/segmentation’, ‘–ml’, ‘–task’, ‘total’, ‘–fast’, ‘–device’, ‘cpu’]
ERROR: The input file or directory does not exist.
If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024
Using ‘fast’ option: resampling to lower resolution (3mm)
I am using the ct chest sample