I’m using Ultralytics YOLOv8 trained model to make real-time predictions with OpenCV. When I run the script it says:
torch.cuda.is_available(): False
torch.cuda.device_count(): 0
os.environ[‘CUDA_VISIBLE_DEVICES’]: None
See Start Locally | PyTorch for up-to-date torch install instructions if no CUDA devices are seen by torch.
I tried export CUDA_HOME=/usr/local/cuda-10.0/
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
and I also tried the link given in the error, but nothing gets solved.