Language-Driven Image Style Transfer

Tsu-Jui Fu, Xin Eric Wang, William Yang Wang
6/1/2021
cs.CV

Official code: tsujuifu/pytorch_ldast (26 stars, Python, PyTorch, last commit 2023-12-17).

Abstract

Despite having promising results, style transfer, which requires preparing style images in advance, may result in lack of creativity and accessibility. Following human instruction, on the other hand, is the most natural way to perform artistic style transfer that can significantly improve controllability for visual effect applications.

Show full abstract

We introduce a new task, language-driven artistic style transfer (LDAST), to manipulate the style of a content image, guided by a text. We propose contrastive language visual artist (CLVA) that learns to extract visual semantics from style instructions and accomplish LDAST by the patch-wise style discriminator. The discriminator considers the correlation between language and patches of style images or transferred results to jointly embed style instructions. CLVA further compares contrastive pairs of content images and style instructions to improve the mutual relativeness. The results from the same content image can preserve consistent content structures. Besides, they should present analogous style patterns from style instructions that contain similar visual semantics. The experiments show that our CLVA is effective and achieves superb transferred results on LDAST.

View on arXivView PDF

Code Implementations(1)

PyTorch

A PyTorch implementation of LDAST

260PythonApr 3, 20222 years ago
artistic-style-transfereccv2022image-editingpytorchvision-and-language

Similar Papers

Cite this paper

@article{fu2021languagedriven,
  title  = {Language-Driven Image Style Transfer},
  author = {Tsu-Jui Fu and Xin Eric Wang and William Yang Wang},
  year   = {2021},
  eprint = {2106.00178},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00178}
}

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

Discussion