Quick test failure (axondeepseg_test) #772
-
Hi, I installed ADS by following the instructions of https://axondeepseg.readthedocs.io/en/latest/documentation.html. However, the quick test (axondeepseg_test) failed with the following error message. Of note, I am using Ubuntu 22.04.2 LTS. Traceback (most recent call last): Any idea about how to fix this error? Thanks in advance!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Humm this is interesting. Thank you @shinysyk for reaching out. At least this is what I think. A workaround around this would be to open the file This should force the software to use the CPU instead of the GPU to do the segmentation. I admit that this is not a proper solution and I need to discuss with the team of a better way to do this. |
Beta Was this translation helpful? Give feedback.
Humm this is interesting. Thank you @shinysyk for reaching out.
It seems like Ivadomed, which is the package we use for applying a network, detected that you have a dedicated GPU and tried to do the segmentation using CUDA (which would run on the GPU). But using CUDA requires installing other stuff like a specific version of CuDNN related to the version of CUDA used.
At least this is what I think.
A workaround around this would be to open the file
"/home/yungki/anaconda3/envs/ads_venv/lib/python3.8/site-packages/ivadomed/inference.py"
, go to line 498 and changecuda_available
toFalse
and
device
to"cpu"
This should force the software to use the CPU instead of the GPU to do the segmentation.