theFoxofSky / ddfnet

The official implementation of the CVPR2021 paper: Decoupled Dynamic Filter Networks
MIT License
214 stars 34 forks source link

ImportError: cannot import name 'ddf_mul_ext' #28

Open jia-604 opened 2 years ago

jia-604 commented 2 years ago

Hello,I met this question,can you help me?

python grad_check.py Traceback (most recent call last): File "grad_check.py", line 8, in from ddf import ddf File "/media/omnisky/34B22D6336AC1687/JSS/ddfnet-main/ddf/init.py", line 1, in from .ddf import * File "/media/omnisky/34B22D6336AC1687/JSS/ddfnet-main/ddf/ddf.py", line 17, in from .ddf import ddf_mul_ext, ddf_mul_faster_ext, ddf_add_ext, ddf_add_faster_ext ImportError: cannot import name 'ddf_mul_ext'

theFoxofSky commented 2 years ago

It seems that you have not set up the ddf and moved the *.so files to the ddf folder.

foxquan commented 1 year ago

It seems that you have not set up the ddf and moved the *.so files to the ddf folder.

Hello,I have run the grad_check.py sucessfully .but when I debug this code ,I met similar question.Can you help me? ImportError: cannot import name 'ddf_mul_ext' from 'ddf_model.build' (unknown location)

theFoxofSky commented 1 year ago

Please move the *.so files to the ddf folder instead of the ddf.build folder