tree: 69b1588e62b297e2501df865d268e0b66d52243f [path history] [tgz]
  1. .gitignore
  2. README.md
  3. checkpoint-viewer.ipynb
  4. download.sh
  5. end_to_end/
  6. find_mxnet.py
  7. model_vgg19.py
  8. neuralart.ipynb
  9. nstyle.py
example/neural-style/README.md

Neural art

This is an implementation of the paper A Neural Algorithm of Artistic Style by Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge.

How to use

First use download.sh to download pre-trained model and sample inputs

Then run python nstyle.py, use -h to see more options

Sample results

It takes 30 secs for a Titan X to generate the above 600x400 image.

Note

  • The current implementation is based the torch implementation. But we may change it dramatically in the near future.

  • We will release multi-GPU version soon.