This repo will allow you to spin up a Digital Ocean droplet preloaded with jcjohnson/neural-style.
Usage:
- Setup
- create a file
api-key.json
that contains your Digital Ocean api key. - Modify
cloud-config.yml
to include your ssh public key - Modify
deploy.js
to adjust the size of the droplet
- create a file
- Deploy
- run
node deploy
- SSH into your droplet (I recommend pearkes/tugboat)
- you can monitor
/var/log/cloud-init-output.log
for the installation of dependencies. Alternatively, once all cloud-config has completed, a filecloud-init-complete
will appear in the home directory - SCP your images to your droplet
cd
into~/neural-style
and runth neural_style.lua -style_image <image.jpg> -content_image <image.jpg>
to try it out!
- run