StyTr^2: Unbiased Image Style Transfer with Transformers

05/30/2021
by   Yingying Deng, et al.
0

The goal of image style transfer is to render an image with artistic features guided by a style reference while maintaining the original content. Due to the locality and spatial invariance in CNNs, it is difficult to extract and maintain the global information of input images. Therefore, traditional neural style transfer methods are usually biased and content leak can be observed by running several times of the style transfer process with the same reference style image. To address this critical issue, we take long-range dependencies of input images into account for unbiased style transfer by proposing a transformer-based approach, namely StyTr^2. In contrast with visual transformers for other vision tasks, our StyTr^2 contains two different transformer encoders to generate domain-specific sequences for content and style, respectively. Following the encoders, a multi-layer transformer decoder is adopted to stylize the content sequence according to the style sequence. In addition, we analyze the deficiency of existing positional encoding methods and propose the content-aware positional encoding (CAPE) which is scale-invariant and more suitable for image style transfer task. Qualitative and quantitative experiments demonstrate the effectiveness of the proposed StyTr^2 compared to state-of-the-art CNN-based and flow-based approaches.

READ FULL TEXT

page 2

page 3

page 6

page 7

page 8

research
01/02/2023

Edge Enhanced Image Style Transfer via Transformers

In recent years, arbitrary image style transfer has attracted more and m...
research
12/12/2022

BeautyREC: Robust, Efficient, and Content-preserving Makeup Transfer

In this work, we propose a Robust, Efficient, and Component-specific mak...
research
03/31/2021

ArtFlow: Unbiased Image Style Transfer via Reversible Neural Flows

Universal style transfer retains styles from reference images in content...
research
06/22/2020

Global Image Sentiment Transfer

Transferring the sentiment of an image is an unexplored research topic i...
research
08/28/2023

PanoSwin: a Pano-style Swin Transformer for Panorama Understanding

In panorama understanding, the widely used equirectangular projection (E...
research
07/01/2023

StyleStegan: Leak-free Style Transfer Based on Feature Steganography

In modern social networks, existing style transfer methods suffer from a...
research
04/24/2023

Master: Meta Style Transformer for Controllable Zero-Shot and Few-Shot Artistic Style Transfer

Transformer-based models achieve favorable performance in artistic style...

Please sign up or login with your details

Forgot password? Click here to reset