This is a Keras implementation of A Neural Algorithm of Artistic Style by Leon A. Gatys, Alexander S. Ecker and Matthias Bethge.
basic usage:
python styletransfer.py path_to_content_image.jpg path_to_style_image.jpg prefix_for_result
options:
- content_weight
- style_weight
- iter
python styletransfer.py --content_weight 0.015 --iter 1 path_to_content_image.jpg path_to_style_image.jpg prefix_for_result
- Python 3.x
- Keras
- Tensorflow
This implementation uses some code from Francois Chollet's Neural Style Transfer.
This paper presents an algrithm for generating a mixed image with the content from the content image and the style from another image, using the convolutional neural network(CNN).