Exploiting Spatial Dimensions of Latent in GAN for Real-time Image Editing

Hyunsu Kim, Yunjey Choi, Junho Kim, Sungjoo Yoo, Youngjung Uh
4/30/2021
cs.CVcs.LG

Official code: naver-ai/StyleMapGAN (461 stars, Python, last commit 2021-10-15).

Abstract

Generative adversarial networks (GANs) synthesize realistic images from random latent vectors. Although manipulating the latent vectors controls the synthesized outputs, editing real images with GANs suffers from i) time-consuming optimization for projecting real images to the latent vectors, ii) or inaccurate embedding through an encoder.

Show full abstract

We propose StyleMapGAN: the intermediate latent space has spatial dimensions, and a spatially variant modulation replaces AdaIN. It makes the embedding through an encoder more accurate than existing optimization-based methods while maintaining the properties of GANs. Experimental results demonstrate that our method significantly outperforms state-of-the-art models in various image manipulation tasks such as local editing and image interpolation. Last but not least, conventional editing methods on GANs are still valid on our StyleMapGAN. Source code is available at https://github.com/naver-ai/StyleMapGAN.

View on arXivView PDF

Code Implementations(1)

Official pytorch implementation of StyleMapGAN (CVPR 2021)

46175Python, CudaApr 12, 20215 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kim2021exploiting,
  title  = {Exploiting Spatial Dimensions of Latent in GAN for Real-time Image Editing},
  author = {Hyunsu Kim and Yunjey Choi and Junho Kim and Sungjoo Yoo and Youngjung Uh},
  year   = {2021},
  eprint = {2104.14754},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.14754}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.14754.svg)](https://codeofpaper.com/paper/2104.14754)

Discussion