Self-Supervised Sketch-to-Image Synthesis

Bingchen Liu, Yizhe Zhu, Kunpeng Song, Ahmed Elgammal
12/16/2020
cs.CVcs.GRcs.MM
contrastive-ssl

Official code: bingchenlll/Self-Supervised-Sketch-to-Image-Synthesis-PyTorch (66 stars, Python, GPL-3.0, last commit 2021-01-04).

Abstract

Imagining a colored realistic image from an arbitrarily drawn sketch is one of the human capabilities that we eager machines to mimic. Unlike previous methods that either requires the sketch-image pairs or utilize low-quantity detected edges as sketches, we study the exemplar-based sketch-to-image (s2i) synthesis task in a self-supervised learning manner, eliminating the necessity of the paired sketch data.

Show full abstract

To this end, we first propose an unsupervised method to efficiently synthesize line-sketches for general RGB-only datasets. With the synthetic paired-data, we then present a self-supervised Auto-Encoder (AE) to decouple the content/style features from sketches and RGB-images, and synthesize images that are both content-faithful to the sketches and style-consistent to the RGB-images. While prior works employ either the cycle-consistence loss or dedicated attentional modules to enforce the content/style fidelity, we show AE's superior performance with pure self-supervisions. To further improve the synthesis quality in high resolution, we also leverage an adversarial network to refine the details of synthetic images. Extensive experiments on 1024*1024 resolution demonstrate a new state-of-art-art performance of the proposed model on CelebA-HQ and Wiki-Art datasets. Moreover, with the proposed sketch generator, the model shows a promising performance on style mixing and style transfer, which require synthesized images to be both style-consistent and semantically meaningful. Our code is available on https://github.com/odegeasslbc/Self-Supervised-Sketch-to-Image-Synthesis-PyTorch, and please visit https://create.playform.io/my-projects?mode=sketch for an online demo of our model.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

The pytorch implementation for the paper "Self-Supervised Sketch-to-Image Synthesis" in AAAI-2021

665PythonDec 16, 20205 years agoGPL-3.0

Similar Papers

Cite this paper

@article{liu2020selfsupervised,
  title  = {Self-Supervised Sketch-to-Image Synthesis},
  author = {Bingchen Liu and Yizhe Zhu and Kunpeng Song and Ahmed Elgammal},
  year   = {2020},
  eprint = {2012.09290},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.09290}
}

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

Discussion