Total Segmentator error: Failed to compute results...returned non-zero exit status 1

liyiranran2001
Wed, 22 May 2024 13:15:41 +0000
Support

Operating system:windows11
Slicer version:5.6.2

Hi,
I have installed Pytorch and other python packages properly, and restarted and reinstalled Slicer for several times. No matter I choose the ‘fast’ mode or not, the process will stop after starting the downloading of models.

And here is the details:

*[Python] Failed to compute results.*
*[Python] Command '['D:/Programmes/3DSlicer/Slicer 5.6.2/bin/../bin\\PythonSlicer.EXE', 'D:\\Programmes\\3DSlicer\\Slicer 5.6.2\\lib\\Python\\Scripts\\TotalSegmentator.exe', '-i', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/__SlicerTemp__2024-05-22_10+47+37.137/total-segmentator-input.nii', '-o', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/__SlicerTemp__2024-05-22_10+47+37.137/segmentation', '--fast']' returned non-zero exit status 1.*
*Traceback (most recent call last):*
*  File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 298, in onApplyButton*
*    self.logic.process(self.ui.inputVolumeSelector.currentNode(), self.ui.outputSegmentationSelector.currentNode(),*
*  File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 961, in process*
*    self.processVolume(inputFile, inputVolume,*
*  File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 1001, in processVolume*
*    self.logProcessOutput(proc)*
*  File "D:/Programmes/3DSlicer/Slicer 5.6.2/slicer.org/Extensions-32448/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py", line 807, in logProcessOutput*
*    raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)*
*subprocess.CalledProcessError: Command '['D:/Programmes/3DSlicer/Slicer 5.6.2/bin/../bin\\PythonSlicer.EXE', 'D:\\Programmes\\3DSlicer\\Slicer 5.6.2\\lib\\Python\\Scripts\\TotalSegmentator.exe', '-i', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/__SlicerTemp__2024-05-22_10+47+37.137/total-segmentator-input.nii', '-o', 'C:/Users/LiYiRan/AppData/Local/Temp/Slicer/__SlicerTemp__2024-05-22_10+47+37.137/segmentation', '--fast']' returned non-zero exit status 1.*

5 posts - 3 participants