tree: 7192c2f037dffcfac3fd715e0de61571d69e69ac [path history] [tgz]
  1. end_to_end/
  2. .gitignore
  3. checkpoint-viewer.ipynb
  4. download.sh
  5. find_mxnet.py
  6. model_vgg19.py
  7. neuralart.ipynb
  8. nstyle.py
  9. README.md
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.