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

an error report #75

Open Zhenggen-deng opened 3 years ago

Zhenggen-deng commented 3 years ago

Hello, I have a question. When I run your code,

There is an error report;

from torch.nn import init

ImportError: cannot import name 'init'

However, init is installed in my database, and the version is init = = 0.1.0

I wonder what caused it. Is it the wrong version? But there is no version of init in your code environment.

Can you give me some advice? Thank you very much for your help