Setting up Caffe for Running Deepdream on OS X

Dependencies

Use Brew

Install brew and pip (sudo easy_install pip)

brew update
brew install homebrew/science/openblas
brew install boost
# caffe doesn't work with 1.58.0
brew switch boost 1.56.0
brew install opencv
brew install --build-from-source --with-python --fresh -vd protobuf
brew install glog
brew install gflags
brew install hdf5
brew install leveldb
brew install lmdb
brew install --build-from-source --fresh -vd boost-python

sudo pip install pillow
sudo pip install ipython
sudo pip install scikit-image

Download Caffe and Set Up the Makefile

Edit Makefile.config

Build and Run

Downloading Google’s Model for Testing