betterze / StyleSpace

StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generation
311 stars 34 forks source link

how to real image manipulation? #12

Closed leeisack closed 3 years ago

leeisack commented 3 years ago

Hello, I'm looking forward to your paper. If you look at your paper, there is a case that uses real face manipulation instead of a generated image, please tell me how to do input other image it with code.

woctezuma commented 3 years ago

Manipulation of Real Images

You can read a bit about it here: https://github.com/woctezuma/stylegan2-projecting-images

For a recent approach (SIGGRAPH 2021), you can try: https://github.com/omertov/encoder4editing

betterze commented 3 years ago

Dear Lee and Wok,

Thank you for your interest in our work.

We trained an image encoder by ourself when we published the paper. But now, there are better image encoder, please refer to e4e encoder.

Maybe use e4e encoder to invert the image to stylegan2 latent space, then use our method to manipulate the image.

Best Wishes,

Alex