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
The converted model generate blur images #18
Comments
Thank you for your reply! I use the latest code in your MobileStyleGAN repository. However, I can't generate sharp images. Can you share your local "convert_rosinality_ckpt.py" file with me? or the converted ckpt file? I want to find the reason. |
@zuimeiyujianni I just do something like this:
So, you should see the correct images generated by StyleGAN2 on the left (and noise on the right, because your MobileStyleGAN model is not trained yet) |
@zuimeiyujianni so, we improve user experience a little bit. Just do like:
It works well for me. |
Thank you for your reply!!!. I have overcome this problem. |
After the conversion, the model generates the blur images. I use the file "convert_rosinality_ckpt.py" to convert the "550000.pt"(the pretrained model on 256 provided by "https://github.com/rosinality/stylegan2-pytorch") model. In order to see the generated images by styleganv2 pretrained parameters, I modified the
MobileStyleGAN.pytorch/core/distiller.py
Line 160 in d67b3d4
I don't know what caused this. Have you ever encountered this problem? @bes-dev
The text was updated successfully, but these errors were encountered: