Last active
June 3, 2016 12:58
-
-
Save ibaaj/38a72a912b119921a1da0492f7945f2b to your computer and use it in GitHub Desktop.
artistic vid with ami-b36981d8
This file contains 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 add-apt-repository ppa:mc3man/trusty-media; | |
sudo apt-get update; | |
sudo apt-get install -y software-properties-common curl wget git libprotobuf-dev protobuf-compiler man; | |
sudo apt-get install ffmpeg; | |
luarocks install loadcaffe && luarocks install image && luarocks install nn; | |
luarocks install torch && \ | |
luarocks install cutorch && \ | |
luarocks install cunn && \ | |
luarocks install sys; | |
wget "http://lear.inrialpes.fr/src/deepmatching/code/deepmatching_1.2.2.zip"; | |
unzip deepmatching_1.2.2.zip | |
wget "http://pascal.inrialpes.fr/data2/deepmatching/files/DeepFlow_release2.0.tar.gz"; | |
tar -xvzf DeepFlow_release2.0.tar.gz; | |
git clone https://github.com/manuelruder/artistic-videos; | |
mv ~/DeepFlow_release2.0/deepflow2-static ~/artistic-videos/; | |
mv ~/deepmatching_1.2.2_c++/deepmatching-static ~/artistic-videos/; | |
cd artistic-videos/; | |
chmod +x ./models/download_models.sh; | |
sh -c ./models/download_models.sh; | |
wget "XXXXXXXXX/IMG_7602.MOV"; | |
wget -O "canaletto.jpg" "https://upload.wikimedia.org/wikipedia/commons/e/e5/Canaletto_(II)_002.jpg" | |
./stylizeVideo.sh ./A.MOV ./canaletto.jpg; # use it with screen func |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment