gaow0007 / ZeroShotLinearStyleTransfer

Arbitrary Style Transfer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Universal Style Transfer

This is the Pytorch implementation of [Zero Shot Linear Style Transfer].

Prerequisites

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

Prepare images

Simply put content and image pairs in images/content and images/style respectively. Note that correspoding conternt and image pairs should have same names.

Style Transfer

python WCT.py --cuda

Results

waiting

Acknowledgments

Many thanks to the code from Xueting Li.

Reference

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

About

Arbitrary Style Transfer

License:MIT License


Languages

Language:Python 99.5%Language:Shell 0.5%