I'm a security engineer with a lot of side projects, most of which find their way here. I like to center my research around computer security, cryptography, Python, math, hard problems with simple answers, and systems that uphold their users' values.
You can also find me on Twitter.
sudo pip install numpy scipy Pillow ipython
sudo apt-get install protobuf-compiler
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler libatlas-base-dev
git clone https://github.com/BVLC/caffe.gitto clone over HTTPS, or if you set up SSH, then
git clone git@github.com:BVLC/caffe.gitto clone the repo that way. (thanks misterque and Pui for their comments on this section). Once you've run one of these commands, which will create a new "caffe" folder in the current working directory, do the following:
cd caffe
cp Makefile.config{.example,}
open Makefile.config in your favorite editor
mkdir build
cd build
cmake ..
make pycaffe
make runtestAll of these will produce a fair bit of output, especially the last two. The last one runs tests and is not actually necessary, but it is highly recommended as a way to make sure everything's gone right. Hopefully all the output produced by these commands is encouraging. If it isn't, you have a problem -- likely have an unmet dependency -- to troubleshoot. As a first step in troubleshooting, you could try running the above pip and apt-get commands again (possibly with --upgrade in the case of pip). Past that, it's all up to you. Google your error message along with "Caffe" and you can likely find some documentation on what to do.
export PYTHONPATH=/home/fish/workspace/caffe/python:$PYTHONPATH
cd models/bvlc_googlenet/
wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel
ipython qtconsole