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

basic query #24

Open
nanmehta opened this issue Oct 13, 2021 · 3 comments
Open

basic query #24

nanmehta opened this issue Oct 13, 2021 · 3 comments

Comments

@nanmehta
Copy link

from . import ddf_mul_ext, ddf_mul_faster_ext, ddf_add_ext, ddf_add_faster_ext
Can anyone please help me to know what does this dot after from word in the above line indicates (. ) means in terms of importing some folder.

I am trying to execute the folder DDF in my own code, bu everytime I am calling the function it is giving some import errors like
ImportError: cannot import name 'ddf_mul_ext' from 'ddf' (D:\burst_dataset\trial_ddf\ddf_init_.py)

@theFoxofSky
Copy link
Owner

You may need to check two things:

  1. compile ddf
  2. move the ".so" files from the build/lib folder to the ddf folder.

@nanmehta
Copy link
Author

okay, sir. Can we get a without CUDA version of this?
I mean simply PyTorch implementation

@theFoxofSky
Copy link
Owner

theFoxofSky commented Oct 15, 2021

If you use python implementation, it will be very slow, because python implementation will introduce too many "for" loops.

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

2 participants