Sketch Your Own GAN

Sheng-Yu Wang, David Bau, Jun-Yan Zhu
8/5/2021
cs.CVcs.LG

Official code: PeterWang512/GANSketching (710 stars, Python, MIT, last commit 2023-10-29).

Abstract

Can a user create a deep generative model by sketching a single example? Traditionally, creating a GAN model has required the collection of a large-scale dataset of exemplars and specialized knowledge in deep learning.

Show full abstract

In contrast, sketching is possibly the most universally accessible way to convey a visual concept. In this work, we present a method, GAN Sketching, for rewriting GANs with one or more sketches, to make GANs training easier for novice users. In particular, we change the weights of an original GAN model according to user sketches. We encourage the model's output to match the user sketches through a cross-domain adversarial loss. Furthermore, we explore different regularization methods to preserve the original model's diversity and image quality. Experiments have shown that our method can mold GANs to match shapes and poses specified by sketches while maintaining realism and diversity. Finally, we demonstrate a few applications of the resulting GAN, including latent space interpolation and image editing.

View on arXivView PDF

Code Implementations(1)

MIT

Sketch Your Own GAN: Customizing a GAN model with hand-drawn sketches.

71093Python, CudaAug 5, 20213 years agoMIT
computer-graphicscomputer-visiondeep-learningganshci

Similar Papers

Cite this paper

@article{wang2021sketch,
  title  = {Sketch Your Own GAN},
  author = {Sheng-Yu Wang and David Bau and Jun-Yan Zhu},
  year   = {2021},
  eprint = {2108.02774},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.02774}
}

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

Discussion