VITA-Group / ShapeMatchingGAN

[ICCV 2019, Oral] Controllable Artistic Text Style Transfer via Shape-Matching GAN
MIT License
423 stars 67 forks source link
gans iccv19 pytorch style-transfer

ShapeMatchingGAN

sourceadjustable stylistic degree of glyphstylized textapplication
liquid artistic text renderingsmoke artistic text rendering

This is a pytorch implementation of the paper.

Shuai Yang, Zhangyang Wang, Zhaowen Wang, Ning Xu, Jiaying Liu and Zongming Guo. Controllable Artistic Text Style Transfer via Shape-Matching GAN, accepted by International Conference on Computer Vision (ICCV), 2019.

[Project] | [Paper] | More about artistic text style transfer [Link]

Please consider citing our paper if you find the software useful for your work.

Usage:

Prerequisites

Install

python test.py \
--scale 0.0
--structure_model ../save/fire-GS-iccv.ckpt \
--texture_model ../save/fire-GT-iccv.ckpt \
--gpu

Training Examples

Training Sketch Module G_B

Training Structure Transfer G_S

Training Texture Transfer G_T

More

Three training examples are in the IPythonNotebook ShapeMatchingGAN.ipynb

Have fun :-)

Try with your own style images

Contact

Shuai Yang

williamyang@pku.edu.cn