ddfnet icon indicating copy to clipboard operation
ddfnet copied to clipboard

ImportError: cannot import name 'ddf_mul_ext'

Open jia-604 opened this issue 3 years ago • 3 comments

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'

jia-604 avatar Nov 26 '21 13:11 jia-604

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

theFoxofSky avatar Dec 01 '21 07:12 theFoxofSky

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)

foxquan avatar Feb 01 '23 01:02 foxquan

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

theFoxofSky avatar Feb 01 '23 03:02 theFoxofSky