zyainfal / One-Shot-Face-Swapping-on-Megapixels

One Shot Face Swapping on Megapixels.
Other
317 stars 41 forks source link

train stylegan2 #37

Open xuan240 opened 2 years ago

xuan240 commented 2 years ago

Hi, how did you train stylegan2? can you give more details?thanks

zyainfal commented 2 years ago

We used pre-trained model from https://github.com/rosinality/stylegan2-pytorch

xuan240 commented 2 years ago

Are you using https://github.com/rosinality/stylegan2-pytorch conver_weight.py to convert stylegan2-ffhq-config-f.pkl to stylegan2-ffhq-config-f.pth?

zyainfal commented 2 years ago

Yes

Transformer-man commented 2 years ago

是的 能不能提供 stylegan2-ffhq-config-f.pth呀。十分感谢

Transformer-man commented 2 years ago

对的,就是这个stylegan2-ffhq-config-f.pth 权重文件,转换实在是太麻烦了。。。十分感谢!!!!!

xuan240 commented 2 years ago

@Transformer-man 您稍等,我给您找一下,我记得他提供了,如果没有的话我私发给你

Transformer-man commented 2 years ago

stylegan-pytorch里是pkl的权重文件,但是你们这个项目需要.pth的权重文件。。

Transformer-man commented 2 years ago

好哒好哒