CenterNet icon indicating copy to clipboard operation
CenterNet copied to clipboard

DCN v2 compilation for RTX 3080

Open capricornfati opened this issue 3 years ago • 7 comments

Hello,

I am not able to compile DCN v2. My configuraiton is the following:

conda 4.9.2 python 3.8.8 pytorch 1.8.1 Build cuda_11.2.r11.2/compiler.29618528_0 driver version: 460.39 CUDA Version 11.2

I have tried many DCN v2 forks to compile but I was not able succeed. Any helpd would be appreciated :)

Thank you Fatih.

capricornfati avatar Apr 08 '21 15:04 capricornfati

pytorch you should downgrade to 1.4 or below

z6491679 avatar Apr 09 '21 09:04 z6491679

@capricornfati

Refer to https://github.com/developer0hye/Simple-PyTorch-Deformable-Convolution-v2

This code doesn't need any compilation step. However, I didn't test my DCNv2 with this project.

developer0hye avatar Apr 10 '21 15:04 developer0hye

you can delete old DCN v2, then git clone https://codechina.csdn.net/mirrors/jinfagang/DCNv2_latest.git, make it.

asmallcat avatar Sep 01 '21 09:09 asmallcat

you can delete old DCN v2, then git clone https://codechina.csdn.net/mirrors/jinfagang/DCNv2_latest.git, make it.

Hello,

should I do this in miniconda env or in system wide python?

youonlytrackonce avatar Sep 01 '21 10:09 youonlytrackonce

https://codechina.csdn.net/mirrors/jinfagang/DCNv2_latest

works!

youonlytrackonce avatar Sep 27 '21 16:09 youonlytrackonce

https://codechina.csdn.net/mirrors/jinfagang/DCNv2_latest

works!

run in terminal: ./make.sh

rm: cannot remove '*.so': No such file or directory rm: cannot remove 'build/': No such file or directory Traceback (most recent call last): File "setup.py", line 6, in import torch ModuleNotFoundError: No module named 'torch',

how to solve it?

bloom1123 avatar Nov 22 '21 13:11 bloom1123