interfacegan icon indicating copy to clipboard operation
interfacegan copied to clipboard

Get W projections by real images

Open filipelauar opened this issue 3 years ago • 1 comments

Hello, I'm trying to invert real images to the W latent space. I already used IDInvert but the output of their W is 14x512, while the style GAN accepts latent codes of size 18x512.

Do you have the invert feature implemented in the repository? Am I doing something wrong to have W latent spaces of different sizes?

filipelauar avatar Jun 14 '21 14:06 filipelauar

The models released in IDInvert are trained under 256 resolution, but the official StyleGAN model is trained under 1024 resolution. You can train your own encoder with this file in the IDInvert repo.

ShenYujun avatar Jun 15 '21 15:06 ShenYujun