hzi-bifo / RiboDetector

Accurate and rapid RiboRNA sequences Detector based on deep learning
GNU General Public License v3.0
94 stars 16 forks source link

[ERROR] Unable to run ribodetector on a remote server: No visible CUDA devices! #36

Closed jwilliams648 closed 9 months ago

jwilliams648 commented 1 year ago

Hi I am currently trying to run ribodetector on my conda environment but keep on getting the following error:

"ERROR No visible CUDA devices! Please use detect_cpu.py to run it on CPU if you do not have GPU or you need to install GPU version of PyTorch"

I installed pytorch via conda, but the error still gets thrown. Any help in resolving this issue would be appreciated.

dawnmy commented 1 year ago

You can try to check whether you have CUDA device to use with: echo $CUDA_VISIBLE_DEVICES. If this returns nothing, you might not have any CUDA device available for you to use on this machine. Then you should go for the CPU mode of RiboDetector with ribodetector_cpu command