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

how can I get mapping network and synthesis network (.pt file to .ckpt file) #7

Closed
myyhikali opened this issue May 14, 2021 · 1 comment

Comments

@myyhikali
Copy link

myyhikali commented May 14, 2021

Thanks for sharing your ideas and code. I want to use it on my own model. when i use the https://github.com/rosinality/stylegan2-pytorch to train my own dataset, i just get model such as stylegan2-network.pt .And I don't know how to change it to .ckpt file and divide it to mapping network and synthesis network

@bes-dev
Copy link
Owner

bes-dev commented May 22, 2021

@myyhikali hey, ur right. To use your own checkpoint trained in https://github.com/rosinality/stylegan2-pytorch you should convert your ckpt to our internal format. We added script to convert ckpt from https://github.com/rosinality/stylegan2-pytorch, to make it, please, follow instruction from readme: https://github.com/bes-dev/MobileStyleGAN.pytorch#convert-checkpoint-from-rosinalitystylegan2-pytorch

@bes-dev bes-dev closed this as completed Jun 25, 2021
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

2 participants