Skip to content

Instantly share code, notes, and snippets.

'''
Modified
https://github.com/fchollet/keras/blob/master/examples/neural_style_transfer.py
to demonstrate a problem with layer output_shape when using Theano backend.
Neural style transfer with Keras.
Run the script with:
```
python neural_style_transfer.py path_to_your_base_image.jpg path_to_your_reference.jpg prefix_for_results