AI segmentation with lung CT analyzer error

MMdeB
Thu, 13 Oct 2022 11:44:10 +0000
Support

Hi, I’ve been trying to use the Lung CT Analyzer extension with the AI segmentation ‘lung mask’, but I cannot get it to work. First, an error occurred that ‘torch was not present’, but I solved this by installing PyTorch extension in slicer (and then install pytorch via this module). However, afterwards I still get an error when I try to segment the lung.

First, when I press apply, I get a warning:

pytorch CUDA is not found on your system. The AI processing will last 3-10 minutes. Do you want to continue?

If I press OK, I will get the following error:

Failed to compute results: Command ‘[‘C:/Users/mmdeboer/AppData/Local/NA-MIC/Slicer 5.0.3/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘git+https://github.com/JoHof/lungmask’]’ returned non-zero exit status 1.

What do I have to do to solve this error? Thanks in advance!

14 posts - 6 participants