Transforming and Projecting Images into Class-conditional Generative Networks

Minyoung Huh, Richard Zhang, Jun-Yan Zhu, Sylvain Paris, Aaron Hertzmann
5/4/2020
117 citations
cs.CV

Official code: minyoungg/pix2latent (194 stars, Python, Apache-2.0, PyTorch, last commit 2023-10-10).

Abstract

We present a method for projecting an input image into the space of a class-conditional generative neural network. We propose a method that optimizes for transformation to counteract the model biases in generative neural networks.

Show full abstract

Specifically, we demonstrate that one can solve for image translation, scale, and global color transformation, during the projection optimization to address the object-center bias and color bias of a Generative Adversarial Network. This projection process poses a difficult optimization problem, and purely gradient-based optimizations fail to find good solutions. We describe a hybrid optimization strategy that finds good projections by estimating transformations and class parameters. We show the effectiveness of our method on real images and further demonstrate how the corresponding projections lead to better editability of these images.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Code for: Transforming and Projecting Images into Class-conditional Generative Networks

19414PythonApr 27, 20203 years agoApache-2.0
biggancma-esganinverting-imagesnevergrad+2 more

Similar Papers

Cite this paper

@article{huh2020transforming,
  title  = {Transforming and Projecting Images into Class-conditional Generative Networks},
  author = {Minyoung Huh and Richard Zhang and Jun-Yan Zhu and Sylvain Paris and Aaron Hertzmann},
  year   = {2020},
  eprint = {2005.01703},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.01703}
}

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

Discussion