Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert weights from Stylegan2-ada-pytorch #206

Open
dokluch opened this issue Mar 26, 2021 · 6 comments
Open

Convert weights from Stylegan2-ada-pytorch #206

dokluch opened this issue Mar 26, 2021 · 6 comments

Comments

@dokluch
Copy link

dokluch commented Mar 26, 2021

Hi. Is it possible to convert weights from stylegan2-ada-pytorch (https://github.com/NVlabs/stylegan2-ada-pytorch) pickle file to pt with convert_weight tool?

@rosinality
Copy link
Owner

No, it is not possible currently.

@ghost
Copy link

ghost commented Mar 29, 2021

No, it is not possible currently.

I hope it will be as well 👯

@dvschultz
Copy link

Justin Pinkney wrote one that works for me in 1024 and 512: https://github.com/dvschultz/stylegan2-ada-pytorch/blob/main/export_weights.py

@rosinality
Copy link
Owner

Wow!

@ykk648
Copy link

ykk648 commented May 10, 2021

Justin Pinkney wrote one that works for me in 1024 and 512: https://github.com/dvschultz/stylegan2-ada-pytorch/blob/main/export_weights.py

It works, but I found img generated by Stylegan2-ada-pytorch and Stylegan2-pytorch is different!!!
The img generated by Stylegan2-pytorch has low quality, many strips on it.

@CurtisASmith
Copy link

Justin Pinkney wrote one that works for me in 1024 and 512: https://github.com/dvschultz/stylegan2-ada-pytorch/blob/main/export_weights.py

I needed to additionally change generate.py as described here, otherwise this works perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants