DCNv2 icon indicating copy to clipboard operation
DCNv2 copied to clipboard

Error Installing DCNv2

Open MiguelAngeloMartinsRibeiro opened this issue 3 years ago • 2 comments

/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.

I encounter the same issue .

snoopybingo avatar Nov 26 '21 06:11 snoopybingo

I have the same issue.

denyz avatar Mar 24 '23 06:03 denyz