AI segmentation with lung CT analyzer error

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!

What GPU do you have in use?
Message 1 is normal if you have no GPU or a GPU that does not support CUDA. CUDA needs an Nvidia GPU.

This is strange.
Could you restart Slicer and paste

slicer.util.pip_install("git+https://github.com/JoHof/lungmask")

into the Python Interactor, press return, and post the result?
Thank you.