lucasjinreal / DCNv2_latest

DCNv2 supports decent pytorch such as torch 1.5+ (now 1.8+)
BSD 3-Clause "New" or "Revised" License
609 stars 125 forks source link

test error #35

Open Pyten opened 2 years ago

Pyten commented 2 years ago

编译之后,运行testcuda.py报错:

File "testcuda.py", line 11, in from dcn_v2 import dcn_v2_conv, DCNv2, DCN File "*/DCNv2/dcn_v2.py", line 12, in import _ext as _backend ImportError: dynamic module does not define module export function (PyInit__ext)

环境: pytorch:1.4,python3.7, cuda10.2

atabakd commented 2 years ago

I solved this error by installing the package again: python setup.py install