This is a small collection of utility scripts to set up and run jcjohnson's neural-style.
Rent something with yum, cuda, and a lot of GPU memory. Amazon Linux AMI with NVIDIA GRID GPU Driver running on a g2.8xlarge works well (these are about $2/hour, so be careful).
- Connect to host:
ssh -i "<your AWS pem file>" ec2-user@<you>.compute-1.amazonaws.com
- Run
install.sh
- Upload content (the images you wish to re-draw) to ~/conent
- Upload styles (the styles in which you wish to re-draw your content images) to ~/styles
- Run run.sh, which will render all images in all styles, and output to ~/output
- Once finished, download results with
scp -i "<your AWS pem file>" "ec2-user@<you>.compute-1.amazonaws.com:/home/ec2-user/output/*" ./