RenYurui / Global-Flow-Local-Attention

The source code for paper "Deep Image Spatial Transformation for Person Image Generation"
https://renyurui.github.io/GFLA-web
Other
566 stars 84 forks source link

ModuleNotFoundError: No module named 'resample2d_cuda' #65

Open hhuyujie opened 4 years ago

hhuyujie commented 4 years ago

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

shilongshen commented 3 years ago

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

Yuchen-Hou0210 commented 3 years ago

@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

maflx commented 3 years ago

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.

Bo-Yang-web commented 2 years ago

@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'

Bowen-sdu commented 2 years ago

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

hhuyujie commented 2 years ago

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

Yomiko11 commented 5 months ago

I have the same problem. Have you solved it?