eladrich / pixel2style2pixel

Official Implementation for "Encoding in Style: a StyleGAN Encoder for Image-to-Image Translation" (CVPR 2021) presenting the pixel2style2pixel (pSp) framework
https://eladrich.github.io/pixel2style2pixel/
MIT License
3.2k stars 568 forks source link

How to get realistic pictures from painting? #223

Closed src-by-hannah closed 3 years ago

src-by-hannah commented 3 years ago

Hello. Thanks for the wonderful project.

I came here after seeing this link. https://nerdist.com/article/artist-uses-ai-realistic-pictures-historical-figures/ I wanted to get the painting as a realistic photo like this, so I tried running colab, but the result was still disappointing.

image This is the result I got. But still not satisfied.

And the result of the link is: image This is even more realistic than my results.

What do I need to do to get a picture like the link above? Is it impossible to use only colab?

yuval-alaluf commented 3 years ago

If I am not mistaken, the person who created these images did some manual post-processing of the results. If you're not entirely satisfied with the results, you could also try working with e4e (encoder4editing) using the same approach as here. Since e4e encodes images closer to W, you may be able to get more realistic images.

src-by-hannah commented 3 years ago

It helped me a lot. Thank you for answer :)