Created
March 28, 2017 10:49
-
-
Save mperlet/d0fcf728954eebf44a5ef6ba231fcbdf to your computer and use it in GitHub Desktop.
deep-photo-styletransfer vagrant setup history
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install octave git libmatio2 libprotobuf-dev protobuf-compiler nvidia-cuda-toolkit octave-image | |
git clone https://github.com/luanfujun/deep-photo-styletransfer.git | |
cd deep-photo-styletransfer/ | |
bash models/download_models.sh | |
cd .. | |
git clone https://github.com/torch/distro.git ~/torch --recursive | |
cd ~/torch; bash install-deps; | |
./install.sh | |
cd .. | |
cd deep-photo-styletransfer/ | |
make clean | |
make | |
cd gen_laplacian/ | |
cp */* . | |
octave gen_laplacian.m | |
source ~/.bashrc | |
cd ~/deep-photo-styletransfer | |
luarocks install loadcaffe | |
luarocks install matio | |
wget https://raw.githubusercontent.com/jcjohnson/neural-style/master/neural_style.lua | |
mv VGG_ILSVRC_19_layers.caffemodel models | |
th neural_style.lua -gpu -1 -content_image examples/input/in1.png -style_image examples/style/tar1.png -num_iterations 1000 -save_iter 100 -print_iter 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vagrant up; vagrant ssh