CharlesShang / DCNv2

Deformable Convolutional Networks v2 with Pytorch
BSD 3-Clause "New" or "Revised" License
1.27k stars 399 forks source link

Error Installing DCNv2 #109

Open MiguelAngeloMartinsRibeiro opened 3 years ago

MiguelAngeloMartinsRibeiro commented 3 years ago

/home/mribeiro/tese/Yolact++/external/DCNv2/src/cuda/dcn_v2_cuda.cu(107): error: identifier "THCState_getCurrentStream" is undefined

/home/mribeiro/tese/Yolact++/external/DCNv2/src/cuda/dcn_v2_cuda.cu(126): error: identifier "THCudaBlas_SgemmBatched" is undefined

/home/mribeiro/tese/Yolact++/external/DCNv2/src/cuda/dcn_v2_cuda.cu(273): error: identifier "THCudaBlas_Sgemm" is undefined

/home/mribeiro/tese/Yolact++/external/DCNv2/src/cuda/dcn_v2_cuda.cu(279): error: identifier "THCState_getCurrentStream" is undefined

/home/mribeiro/tese/Yolact++/external/DCNv2/src/cuda/dcn_v2_cuda.cu(324): error: identifier "THCudaBlas_Sgemv" is undefined

I get this 5 errors when I compile DCNv2 and a lot of warnings. I found a solution to solve 2 of them in one issue. The solution was to change the version of pytorch and torchvision. How can I solve the others?

cycler 0.10.0
Cython 0.29.23
kiwisolver 1.3.1
matplotlib 3.4.2
numpy 1.20.3
opencv-python 4.5.2.52
Pillow 8.2.0
pip 20.0.2
pkg-resources 0.0.0
pycocotools 2.0.2
pyparsing 2.4.7
python-dateutil 2.8.1
setuptools 44.0.0
six 1.16.0
torch 1.8.1+cu111 torchaudio 0.8.1
torchvision 0.9.1+cu111 typing-extensions 3.10.0.0
wheel 0.36.2

These are the versions I'm using.

snoopybingo commented 2 years ago

I encounter the same issue .

denyz commented 1 year ago

I have the same issue.