Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization

About

Gatys et al. recently introduced a neural algorithm that renders a content image in the style of another image, achieving so-called style transfer. However, their framework requires a slow iterative optimization process, which limits its practical application. Fast approximations with feed-forward neural networks have been proposed to speed up neural style transfer. Unfortunately, the speed improvement comes at a cost: the network is usually tied to a fixed set of styles and cannot adapt to arbitrary new styles. In this paper, we present a simple yet effective approach that for the first time enables arbitrary style transfer in real-time. At the heart of our method is a novel adaptive instance normalization (AdaIN) layer that aligns the mean and variance of the content features with those of the style features. Our method achieves speed comparable to the fastest existing approach, without the restriction to a pre-defined set of styles. In addition, our approach allows flexible user controls such as content-style trade-off, style interpolation, color & spatial controls, all using a single feed-forward neural network.

Xun Huang, Serge Belongie• 2017

Related benchmarks

TaskDatasetResultRank
Style TransferMS-COCO and WikiArt
Execution Time (s)0.004
48
Image EnhancementSICE Underexposure v2
PSNR22.06
34
Style TransferMS-COCO (content) + WikiArt (style) (test)
LPIPS0.56
31
Image Style TransferUser Study
Overall Quality Score23.5
30
Camouflaged Image SynthesisLAKE-RED Camouflaged Objects
KL_BF0.8821
28
Image Style Transfer(test)
Average Inference Time (s)0.007
22
Image EnhancementSICE Overexposure v2
PSNR19.5
17
Style TransferMS-COCO (content) + WikiArt (style) (test)
Lcont4.88
17
Camouflaged Image SynthesisLAKE-RED (Overall)
KL_BF1.114
14
Camouflaged Image SynthesisLAKE-RED Salient Objects
KL_BF1.3065
14
Showing 10 of 30 rows

Other info

Follow for update