StyleGAN2 Distillation for Feed-forward Image Manipulation

Yuri Viazovetskyi, Vladimir Ivashkin, Evgeny Kashin
3/7/2020
cs.CV

Official code: EvgenyKashin/stylegan2-distillation (1,019 stars, last commit 2022-02-02).

Abstract

StyleGAN2 is a state-of-the-art network in generating realistic images. Besides, it was explicitly trained to have disentangled directions in latent space, which allows efficient image manipulation by varying latent factors. Editing existing images requires embedding a given image into the latent space of StyleGAN2. Latent code optimization via backpropagation is commonly used for qualitative embedding of real world images, although it is prohibitively slow for many applications. We propose a way to distill a particular image manipulation of StyleGAN2 into image-to-image network trained in paired way. The resulting pipeline is an alternative to existing GANs, trained on unpaired data. We provide results of human faces' transformation: gender swap, aging/rejuvenation, style transfer and image morphing. We show that the quality of generation using our method is comparable to StyleGAN2 backpropagation and current state-of-the-art methods in these particular tasks.

View on arXivView PDF

Code Implementations(1)

1,019102Cuda, HTMLMar 6, 20204 years agoNOASSERTION

Similar Papers

Cite this paper

@article{viazovetskyi2020stylegan,
  title  = {StyleGAN2 Distillation for Feed-forward Image Manipulation},
  author = {Yuri Viazovetskyi and Vladimir Ivashkin and Evgeny Kashin},
  year   = {2020},
  eprint = {2003.03581},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.03581}
}

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/2003.03581.svg)](https://codeofpaper.com/paper/2003.03581)

Discussion