Skip to content

Instantly share code, notes, and snippets.

@drewlustro
Forked from ewnd9/install.sh
Last active February 15, 2016 05:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewlustro/7c99f5c9ac235c1f8046 to your computer and use it in GitHub Desktop.
Save drewlustro/7c99f5c9ac235c1f8046 to your computer and use it in GitHub Desktop.
google's deepdream ubuntu installation
# sources
# http://www.scipy.org/install.html
# http://sohliloquies.blogspot.ru/2015/07/setting-up-deep-dream-google-researchs.html
# https://github.com/BVLC/caffe/wiki/Ubuntu-14.04-VirtualBox-VM
# ~2gb dependencies
mkdir deep-dream && cd deep-dream
sudo apt-get install -y subversion cmake
sudo apt-get install -y libblas-dev libatlas-dev liblapack-dev
sudo apt-get install -y doxygen
sudo apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler gfortran libjpeg62 libfreeimage-dev libatlas-base-dev git python-dev python-pip libgoogle-glog-dev libbz2-dev libxml2-dev libxslt-dev libffi-dev libssl-dev libgflags-dev liblmdb-dev python-yaml
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
sudo apt-get install protobuf-compiler
git clone https://github.com/BVLC/caffe.git
cd caffe
cp Makefile.config{.example,}
mkdir build
cd build
cmake ..
make pycaffe
make runtest
export PYTHONPATH=/home/drew/dev-local/caffe/python:$PYTHONPATH
cd ../models/bvlc_googlenet/
wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment