Skip to content

Instantly share code, notes, and snippets.

@halhorn
Last active August 29, 2015 14:24
Show Gist options
  • Save halhorn/40b2d38d9f68096f8422 to your computer and use it in GitHub Desktop.
Save halhorn/40b2d38d9f68096f8422 to your computer and use it in GitHub Desktop.
DeepDreamを動かすまで ref: http://qiita.com/halhorn/items/ff05c2735c0b60356da1
brew update
brew upgrade
brew install --fresh -vd snappy leveldb gflags glog szip lmdb python wget
brew tap homebrew/science
brew install hdf5 opencv
brew install --build-from-source --with-python -vd protobuf
brew install --build-from-source -vd boost boost-python
brew install protobuf boost
sudo pip install pyzmq jinja2 protobuf "ipython[notebook]" functools32
sudo pip install pil --allow-external pil --allow-unverified pil
export PYTHONPATH=~/git/caffe/python/:$PYTHONPATH
wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel -P ../caffe/models/bvlc_googlenet/
ipython notebook
/usr/local/bin/easy_install pip
git clone --depth 1 https://github.com/BVLC/caffe.git
make all
make pycaffe
make test
make runtest
git clone --depth 1 https://github.com/google/deepdream.git
cd deepdream
brew unlink jpeg
brew link jpeg
sudo pip uninstall pil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment