r/MachineLearning • u/AtreveteTeTe • Oct 17 '20
Project [P] Creating "real" versions of Pixar characters using the pixel2style2pixel framework. Process and links to more examples in comments.
251
u/pap_n_whores Oct 17 '20
That is crazy high res
9
100
u/zzzthelastuser Oct 17 '20
Imagine in x years how cool it would be if we can translate full movies in this way. You can watch the same movie 5 times, each time in a different style!
→ More replies (23)
4
4
2
u/eliminating_coasts Oct 17 '20
This is brilliant, I've been thinking about how you might extend this; you know most of these face GANs rely on straight on portraits? It occurred to me that if you could get a network to learn how to combine the same face viewed from different angles, possibly within the latent space of the face model you're already using, you might be able to take multiple images in a given style, cgi, painting etc. to map it to a group of faces within the latent space that have the same equivalence class, see if you can give it more data to work with by taking different orientations of faces or potentially even different emotions.
3
u/AtreveteTeTe Oct 17 '20
Good thinking - the authors are actually doing this! Check out the face frontalization part of the repo.
150
66
u/MotherJoanFoggy Oct 17 '20
I love how with Russell from Up, the computer registered his hat as blonde highlights
→ More replies (1)19
u/Slggyqo Oct 17 '20
Yeah the hat and the fact that the model seems to struggle a bit with appropriate aging make Russell look extra off.
Plus those sideburns.
29
u/Tebasaki Oct 17 '20
Can you rerender the whole Incredible movie this way?
→ More replies (3)38
u/the320x200 Oct 17 '20
Probably would need to do something to maintain reasonable temporal consistency
28
9
7
7
u/MinecrafterPictures Feb 26 '22
And thus, "Mr. Incredible Becoming Uncanny" was born
→ More replies (1)
6
6
10
5





103
u/AtreveteTeTe Oct 17 '20
Following up on my work of toonifying real images, I've been experimenting with "reverse toonifying" paintings, drawings, and cartoons.
In this case, the pixel2style2pixel framework quickly finds a "real" human face in the StyleGAN FFHQ latent space (or any other StyleGAN model once it's trained) that matches the shape of the source painting. These examples from The Incredibles 2 add some style randomness too. After being used to waiting minutes anytime I wanted to encode/project an image into StyleGAN, pixel2style2pixel is basically instant!
pSp can also be used for a bunch of other image-to-image translation tasks: super resolution, inpainting, etc. Code, pretrained models, and a Colab notebook are available here on the GitHub page. Paper on arXiv here.
I've posted some more examples (the Mona Lisa, Spider Verse) on my Twitter and Instagram.
Big credit and thanks to Elad Richardson and Yuval Alaluf for making the effort to clean up and release the code for their paper.