Improving generative adversarial network inversion via fine-tuning GAN encoders

Cheng Yu, Wenmin Wang, Roberto Bugiolacchi
8/23/2021
9 citations
cs.CVeess.IV

Official code: disanda/Deep-GAN-Encoders (49 stars, Python, PyTorch, last commit 2024-05-18).

Abstract

Generative adversarial networks (GANs) can synthesize high-quality (HQ) images, and GAN inversion is a technique that discovers how to invert given images back to latent space. While existing methods perform on StyleGAN inversion, they have limited performance and are not generalized to different GANs.

Show full abstract

To address these issues, we proposed a self-supervised method to pre-train and fine-tune GAN encoders. First, we designed an adaptive block to fit different encoder architectures for inverting diverse GANs. Then we pre-train GAN encoders using synthesized images and emphasize local regions through cropping images. Finally, we fine-tune the pre-trained GAN encoder for inverting real images. Compared with state-of-the-art methods, our method achieved better results that reconstructed high-quality images on mainstream GANs. Our code and pre-trained models are available at: https://github.com/disanda/Deep-GAN-Encoders.

View on arXivView PDF

Code Implementations(1)

PyTorch

GAN encoders in PyTorch that could match PGGAN, StyleGAN v1/v2, and BigGAN. Code also integrates the implementation of these GANs.

4910PythonAug 21, 20212 years ago
biggan-encoderdeep-learninggangan-encoderspytorch+1 more

Similar Papers

Cite this paper

@article{yu2021improving,
  title  = {Improving generative adversarial network inversion via fine-tuning GAN encoders},
  author = {Cheng Yu and Wenmin Wang and Roberto Bugiolacchi},
  year   = {2021},
  eprint = {2108.10201},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.10201}
}

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

Discussion