Real-Time Style Transfer With Strength Control

Victor Kitov
4/18/2019
cs.CV
transformer-attention

Official code: victorkitov/style-transfer-with-strength-control (15 stars, Python, PyTorch, last commit 2019-05-03).

Abstract

Style transfer is a problem of rendering a content image in the style of another style image. A natural and common practical task in applications of style transfer is to adjust the strength of stylization.

Show full abstract

Algorithm of Gatys et al. (2016) provides this ability by changing the weighting factors of content and style losses but is computationally inefficient. Real-time style transfer introduced by Johnson et al. (2016) enables fast stylization of any image by passing it through a pre-trained transformer network. Although fast, this architecture is not able to continuously adjust style strength. We propose an extension to real-time style transfer that allows direct control of style strength at inference, still requiring only a single transformer network. We conduct qualitative and quantitative experiments that demonstrate that the proposed method is capable of smooth stylization strength control and removes certain stylization artifacts appearing in the original real-time style transfer method. Comparisons with alternative real-time style transfer algorithms, capable of adjusting stylization strength, show that our method reproduces style with more details.

View on arXivView PDF

Code Implementations(1)

PyTorch

Style transfer with ability to control stylization strength.

158PythonApr 11, 20197 years ago
computer-visionconvolutional-neural-networksmachine-learningneural-style-transferpytorch

Similar Papers

Cite this paper

@article{kitov2019realtime,
  title  = {Real-Time Style Transfer With Strength Control},
  author = {Victor Kitov},
  year   = {2019},
  eprint = {1904.08643},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.08643}
}

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

Discussion