/tensorflow-2-style-transfer

TensorFlow 2.0 implementation of A Neural Algorithm of Artistic Style

Primary LanguagePythonMIT LicenseMIT

TensorFlow 2.0 Neural Style Transfer

TensorFlow 2.0 implementation of A Neural Algorithm of Artistic Style [1]. New/existing TensorFlow features found in this repository include eager execution, AutoGraph, and Keras high-level API.

Requirements

Usage

Install requirements

$ pip install -r requirements.txt

Generate image

$ python main.py -content_path 'content_example.jpg' -style_path 'style_example.jpg'

Results

Example image Derrick Rose

Example image mountains

Example image meadow

Example image flower

References

[1] A Neural Algorithm of Artistic Style