Multi-style Generative Network for Real-time Transfer

Hang Zhang, Kristin Dana
3/20/2017
cs.CV

Official code: zhanghang1989/PyTorch-Multi-Style-Transfer (1,009 stars, MIT, last commit 2022-05-12).

Abstract

Despite the rapid progress in style transfer, existing approaches using feed-forward generative network for multi-style or arbitrary-style transfer are usually compromised of image quality and model flexibility. We find it is fundamentally difficult to achieve comprehensive style modeling using 1-dimensional style embedding. Motivated by this, we introduce CoMatch Layer that learns to match the second order feature statistics with the target styles. With the CoMatch Layer, we build a Multi-style Generative Network (MSG-Net), which achieves real-time performance. We also employ an specific strategy of upsampled convolution which avoids checkerboard artifacts caused by fractionally-strided convolution. Our method has achieved superior image quality comparing to state-of-the-art approaches. The proposed MSG-Net as a general approach for real-time style transfer is compatible with most existing techniques including content-style interpolation, color-preserving, spatial control and brush stroke size control. MSG-Net is the first to achieve real-time brush-size control in a purely feed-forward manner for style transfer. Our implementations and pre-trained models for Torch, PyTorch and MXNet frameworks will be publicly available.

View on arXivView PDF

Code Implementations(1)

MIT

Neural Style and MSG-Net

1,009198Shell, PythonApr 24, 20174 years agoMIT
deep-neural-networksreal-timestyle-transfer

Similar Papers

Cite this paper

@article{zhang2017multistyle,
  title  = {Multi-style Generative Network for Real-time Transfer},
  author = {Hang Zhang and Kristin Dana},
  year   = {2017},
  eprint = {1703.06953},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1703.06953}
}

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

Discussion