Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1004 Bytes

Readme.md

File metadata and controls

27 lines (18 loc) · 1004 Bytes

Universal Style Transfer

This is the Pytorch implementation of Universal Style Transfer via Feature Transforms.

Official Torch implementation can be found here and Tensorflow implementation can be found here.

Prerequisites

  • Pytorch
  • torchvision
  • Pretrained encoder and decoder models for image reconstruction only (download and uncompress them under models/)
  • CUDA + CuDNN

Prepare images

Simply put style images in images/style/style_image

Style Transfer

python WCT-capture.py 

Acknowledgments

Many thanks to the author Yijun Li for his kind help.

Reference

Li Y, Fang C, Yang J, et al. Universal Style Transfer via Feature Transforms[J]. arXiv preprint arXiv:1705.08086, 2017.