jimmyyhwu / style-transfer

Style transfer in TensorFlow with color preservation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

style-transfer

This is a TensorFlow implementation of style transfer as described in A Neural Algorithm of Artistic Style. This also implements a variation of the color preservation strategy described in Preserving Color in Neural Artistic Style Transfer.

Basic Style Transfer

Style Transfer with Color Preservation

Usage

Basic style transfer demo:

python main.py

Style transfer with color preservation demo:

python main.py --preserve_color

Style transfer on custom images:

python main.py --content <custom_content.jpg> --style <custom_style.jpg> --output <output_dir>

Requirements

About

Style transfer in TensorFlow with color preservation


Languages

Language:Python 100.0%