j96w / DenseFusion

"DenseFusion: 6D Object Pose Estimation by Iterative Dense Fusion" code repository
https://sites.google.com/view/densefusion
MIT License
1.08k stars 301 forks source link

RuntimeError: Not compiled with GPU support #214

Open AbdulrahmanAlsumeri opened 1 year ago

AbdulrahmanAlsumeri commented 1 year ago

After running the script ./experiments/scripts/eval_linemod.sh

The following error shows up No.7190 Pass! Distance: 0.008826363647664644 No.7191 NOT Pass! Distance: 0.030700618748845932 No.7192 Pass! Distance: 0.009671199228185249 Traceback (most recent call last): File "./tools/eval_linemod.py", line 126, in inds = KNearestNeighbor.apply(target.unsqueeze(0), pred.unsqueeze(0)) File "/home/abdulrahman/Downloads/DenseFusion-Pytorch-1.0/lib/knn/init.py", line 20, in forward knn_pytorch.knn(ref, query, inds).cuda() RuntimeError: Not compiled with GPU support

error

Although i doubled check if cuda is installed with pytorch and it is actually installed using the following line of code:

torch.cuda.is_available() and shows True

Harrydsk commented 8 months ago

did u solve the problem my friend