Closed huanghaifeng1234 closed 1 year ago
Our method is designed for aligned artistic portraits. So your training set should be aligned as the real faces. And you should always use real aligned face as inputs.
For bad reconstruction, you may use the original pSp to predict w+ code or other more advanced stylegan encoder (see https://github.com/williamyang1991/DualStyleGAN/issues/29)
Or you can train a VToonify (https://github.com/williamyang1991/VToonify) based on DualStyleGAN, which should have better reconstruction.
Our method is designed for aligned artistic portraits. So your training set should be aligned as the real faces. And you should always use real aligned face as inputs.
For bad reconstruction, you may use the original pSp to predict w+ code or other more advanced stylegan encoder (see #29)
Or you can train a VToonify (https://github.com/williamyang1991/VToonify) based on DualStyleGAN, which should have better reconstruction.
bro, can u provide small example how and where need to change code, for best reconstruction. I just try few combined flags for generator from #29 and still get poor output to real input photo((
You should not only change flags but also modify the encoder for better reconstruction. These flags are not to make better recontruction, but to match the output of the modified encoder.
You should not only change flags but also modify the encoder for better reconstruction. These flags are not to make better recontruction, but to match the output of the modified encoder.
can u propose any other encoder, which better this one? thx
You could use the original pSp (output w+ latent code) or ReStyle as in https://github.com/williamyang1991/DualStyleGAN/issues/29 Note that I'm not responsible for the debugging on your own encoder.
To make life easy, you may use the improved version of DualStyleGAN -- VToonify (https://github.com/williamyang1991/VToonify) instead, which should have better reconstruction.
Hi, I followed the training step in Readme and apply the style_transfer.py on content face image but get distorted images, could you help me check the reason.
The script I run
this is the result image, and the third is the target style portrait, how can I fix the distortion or how to debug it?
And a second question, when I input my own face image but get a big change with respect to the expression and eyes, lips shape, how to skip this reconstruction stage and style-transforming my own face directly?
reconstruction image without align_face
reconstruction image with align_face