theFoxofSky / ddfnet

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

basic query #24

Open nanmehta opened 2 years ago

nanmehta commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

theFoxofSky commented 2 years ago

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