HyperInverter: Improving StyleGAN Inversion via Hypernetwork

Tan M. Dinh, Anh Tuan Tran, Rang Nguyen, Binh-Son Hua
12/1/2021
cs.CV

Official code: VinAIResearch/HyperInverter (118 stars, Python, BSD-3-Clause, last commit 2024-11-12).

Abstract

Real-world image manipulation has achieved fantastic progress in recent years as a result of the exploration and utilization of GAN latent spaces. GAN inversion is the first step in this pipeline, which aims to map the real image to the latent code faithfully.

Show full abstract

Unfortunately, the majority of existing GAN inversion methods fail to meet at least one of the three requirements listed below: high reconstruction quality, editability, and fast inference. We present a novel two-phase strategy in this research that fits all requirements at the same time. In the first phase, we train an encoder to map the input image to StyleGAN2 $\mathcal{W}$-space, which was proven to have excellent editability but lower reconstruction quality. In the second phase, we supplement the reconstruction ability in the initial phase by leveraging a series of hypernetworks to recover the missing information during inversion. These two steps complement each other to yield high reconstruction quality thanks to the hypernetwork branch and excellent editability due to the inversion done in the $\mathcal{W}$-space. Our method is entirely encoder-based, resulting in extremely fast inference. Extensive experiments on two challenging datasets demonstrate the superiority of our method.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

HyperInverter: Improving StyleGAN Inversion via Hypernetwork (CVPR 2022)

11813Python, CudaApr 9, 20222 years agoBSD-3-Clause
cvpr2022gan-inversiongenerative-adversarial-networkimage-interpolationimage-manipulation+4 more

Similar Papers

Cite this paper

@article{dinh2021hyperinverter,
  title  = {HyperInverter: Improving StyleGAN Inversion via Hypernetwork},
  author = {Tan M. Dinh and Anh Tuan Tran and Rang Nguyen and Binh-Son Hua},
  year   = {2021},
  eprint = {2112.00719},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.00719}
}

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

Discussion