Closed mrJezy closed 1 year ago
Hey @mrJezy thanks for trying it out. After a quick check, seems you got some issues with your cuda version/pytorch. Mind checking your current cuda version using nvcc -V? Maybe do some tests to make sure your env is working as expected.
Thanks for the quick answer. I'm using GCP VertexAI Jupyterlab notebook and this is my CUDA compiler version:
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Wed_Jul_22_19:09:09_PDT_2020
Cuda compilation tools, release 11.0, V11.0.221
Build cuda_11.0_bu.TC445_37.28845127_0
@mrJezy If you check your current cuda version:
release 11.0, V11.0.221
And your torch, torchvision versions:
torch==2.0.0+cu117 torchvision==0.15.1+cu117
Looks like you have torch for cuda 11.7 but your machine has a cuda v11.0. Re-installing torch with the right version should fix it.
Thanks for pointing this out. Had to downgrade my torch and torchvision version. I can confirm that it works with:
torch==1.12.1+cu113
torchvision==0.13.1+cu113
Hi, thanks for creating this awesome tool!
I have the following error when trying to predict your car example. My env is the following:
python==3.9.16 torch==2.0.0+cu117 torchvision==0.15.1+cu117 numpy==1.24.2 opencv_python==4.7.0.72 Pillow==9.3.0 transformers==4.27.4 lightning==2.0.1
This is the error message I get. Seems like something related to Grounding Dino: