Closed DivyaSrivastav closed 2 years ago
Maybe it's environment version incompatibility. You can configure the environment by following the README.
build
and deform_conv.egg-info
folder in /dcn
, and recompile dcn according to your environement.We rebuild our codes based on torchvision >=0.9.0. If torchvision>=0.9.0 (pytorch >= 1.8.0) in your environment, you don't need follow the instructions below to install DCNv2.
File "/workspace/divya/Denoising/SADNet/dcn/deform_conv.py", line 10, in
from . import deform_conv_cuda
ImportError: /workspace/divya/Denoising/SADNet/dcn/deform_conv_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c1019UndefinedTensorImpl10_singletonE
Kindly help