- This is a gulon implementation of the paper A Neural Algorithm of Artistic Style by Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge.
- Borrowed code from https://zh.gluon.ai/chapter_computer-vision/neural-style.html.
First ensure that you have installed the following required packages:
- mxnet0.12.0 (instructions). Maybe other version is ok. When you install mxnet, the gulon API will also install.
- Opencv (instructions). Here is opencv-2.4.9.
The paper presents an algorithm for combining the content of one image with the style of another image using convolutional neural networks. Here is some neural style results.
- Run the following script to transform the style of content image, in the process of training, will save the result images finally. See the neural-style.py for details.
python neural-style.py
You can change the arguments in neural-style.py depend on your machine config, or achieve a good results.