How to Install & Running "Neural Style (A Neural Algorithm of Artistic Style )" on your EC2 Instance
- http://gitxiv.com/posts/jG46ukGod8R7Rdtud/a-neural-algorithm-of-artistic-style
- https://github.com/jcjohnson/neural-style
g2.2xlarge or better
https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#LaunchInstanceWizard:ami=ami-ffba7b94
ssh -i yourpemkey.pem ubuntu@ec2-public-dns-name
sudo apt-get update
sudo apt-get upgrade
cd cudnn-6.5-linux-x64-R2-rc1
sudo cp lib* /usr/local/cuda/lib64/
sudo cp cudnn.h /usr/local/cuda/include/
luarocks install image
luarocks install loadcaffe
luarocks install torch
git clone https://github.com/jcjohnson/neural-style
cd neural-style
sh models/download_models.sh
th neural_style.lua -num_iterations 2000 -style_image style.jpg -content_image image.jpg -image_size 400 -backend cudnn
The correct CUDNN directory seems to be
cd cudnn-6.5-linux-x64-v2-rc2