omertov / encoder4editing

Official implementation of "Designing an Encoder for StyleGAN Image Manipulation" (SIGGRAPH 2021) https://arxiv.org/abs/2102.02766
MIT License
945 stars 154 forks source link

ganspace has 64 kinds of editing attributes. #55

Closed stone100010 closed 3 years ago

stone100010 commented 3 years ago

Hello, ganspace has 64 kinds of editing attributes. Do you know how to use your inference_playground.ipynb to create 64 kinds of attributes for cars? Thank you for your excellent project! image

omertov commented 3 years ago

Hi @stone100010! In order to provide the ganspace editing, I followed the GANSpace method of calculating the PCA of a large number of latent codes from the Cars and Faces domains and then added their editing code so you will be able to run it through the notebook.

Feel free to explore more combinations of the PCA components to look for other editings, if there are editings found for the StyleGAN you are working with (e.g. StyleGAN2 Cars in your example) it should work in the notebook the same way it works in GANSpace's repo.

Please note again that the editings performed are not part of our work, but an application to showcase the good editings of our encoder ;)

Best, Omer