Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'ddf_mul_ext' #28

Open
jia-604 opened this issue Nov 26, 2021 · 3 comments
Open

ImportError: cannot import name 'ddf_mul_ext' #28

jia-604 opened this issue Nov 26, 2021 · 3 comments

Comments

@jia-604
Copy link

jia-604 commented Nov 26, 2021

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
Copy link
Owner

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

@foxquan
Copy link

foxquan commented Feb 1, 2023

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
Copy link
Owner

theFoxofSky commented Feb 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants