Global-Flow-Local-Attention icon indicating copy to clipboard operation
Global-Flow-Local-Attention copied to clipboard

ModuleNotFoundError: No module named 'resample2d_cuda'

Open hhuyujie opened this issue 4 years ago • 7 comments

As the title says, I've tried many times, initially thinking the problem was the setting of setup.py, but it still doesn't work

hhuyujie avatar Oct 16 '20 13:10 hhuyujie

hey! I meet the same problem, did you solve it ? @hhuyujie @RenYurui

shilongshen avatar Nov 22 '20 07:11 shilongshen

@shilongshen Go to the folder: Global-Flow-Local-Attention-master/model/networks/resample2d_package/

and run the commands: python3 setup.py build and

python3 setup.py install

Yuchen-Hou0210 avatar May 21 '21 12:05 Yuchen-Hou0210

I had the same problem.

In my case it was caused because I was working in a virtual environment and when I compiled the modules they were created for the user but not for the environment.

If that is the case, you should remove the --user flag for each module.

maflx avatar Jun 14 '21 10:06 maflx

@shilongshen Go to the folder: Global-Flow-Local-Attention-master/model/networks/resample2d_package/

and run the commands: python3 setup.py build and

python3 setup.py install

Hey!I meet a new problem, my codes run perfect in this part, but my whole module still can not done, and still back No module named 'resample2d_cuda'

Bo-Yang-web avatar Apr 15 '22 06:04 Bo-Yang-web

@Yuchen-Hou0210 I meet the problem when run the command :python3 setup.py build. image I can not solve it.

Bowen-sdu avatar Aug 08 '22 08:08 Bowen-sdu

  您好,我已收到您的邮件。

hhuyujie avatar Aug 08 '22 08:08 hhuyujie