Skip to content

Instantly share code, notes, and snippets.

@garrettdieckmann
Created March 7, 2016 17:54
Show Gist options
  • Save garrettdieckmann/b2fd04c5eaf52e254c99 to your computer and use it in GitHub Desktop.
Save garrettdieckmann/b2fd04c5eaf52e254c99 to your computer and use it in GitHub Desktop.
Install instructions for 'kaishengtai/neuralart' (no GUI)
# Installation instructions for kaishengtai/neuralart
# from: https://github.com/kaishengtai/neuralart
# Instructions for installation on Ubuntu 14+, without CUDA and without a GUI
# (ex. using DigitalOcean droplet with CPU mode)
# NOTE: CPU mode uses VGG and requires ALOT of memory (8-64GB depending on --size params)
# Install torch + dependencies
apt-get install libssl-dev
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh
# Clone neural art implementation
git clone https://github.com/kaishengtai/neuralart.git
bash download_models.sh
# Remove `image.display(output)` when not using X11
sed -i -e 's/image.display(/--image.display(/g' main.lua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment