Open stefanjaspers opened 1 year ago
@stefanjaspers Hello, how did you solve it?
@stefanjaspers Hello, how did you solve it?
Hi. The cause of the problem was that I had multiple versions of CUDA installed on my PC, combined with the fact that my system environment variable was targeting CUDA 10.1.
I decided to uninstall all versions of CUDA and downloaded and installed CUDA 1.8. I then created a new system environment variable called “CUDA_HOME” which targets the directory of CUDA 1.8.
After doing this, everything worked fine. I’ll reopen this issue for now. If there’s anything else I can help you with, let me know!
@stefanjaspers Hello, how did you solve it?
Hi. The cause of the problem was that I had multiple versions of CUDA installed on my PC, combined with the fact that my system environment variable was targeting CUDA 10.1.
I decided to uninstall all versions of CUDA and downloaded and installed CUDA 1.8. I then created a new system environment variable called “CUDA_HOME” which targets the directory of CUDA 1.8.
After doing this, everything worked fine. I’ll reopen this issue for now. If there’s anything else I can help you with, let me know!
Okay, thank you very much for your response. I will try to reinstall from scratch.
I'm trying to get Grounded SAM to work locally, but I can't get it to work. Here are the steps I've taken to reproduce the issue:
I created a new conda environment with Python 3.8:
conda create -n grounded-sam python=3.8
I installed PyTorch using the following command:
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
I installed Segment Anything using the following command:
pip install git+https://github.com/facebookresearch/segment-anything.git
I tried to install GroundingDINO using the following command:
pip install git+https://github.com/IDEA-Research/GroundingDINO.git
After doing this, I get the following error output:
I've set the CUDA_HOME environment variable as the following:
The CUDA version mismatch error is pretty clear, but I'm pretty new to Python and Anaconda so I'm not sure how to fix this error. Any advice is welcome!