# https://gist.github.com/robertsdionne/f58a5fc6e5d1d5d2f798 # had a bad boost install already (1.5.8), followed this to fix it: # http://itinerantbioinformaticist.blogspot.com/2015/05/caffe-incompatible-with-boost-1580.html # don't forget to brew unlink boost && brew link boost # then run in the caffe folder to fix previous bad install (no rule to make target errors): $ make clean #if ipython is broken because it's missing pyzmq $ sudo pip uninstall ipython $ sudo pip install "ipython[all]" #You'll need a model file: wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel # put it in caffe/models/bvlc_googlenet # when it's running, use ffmpeg to make videos and gifs from the frames (from outside the frames folder): rm -rf out* && ffmpeg -f image2 -r 10 -i frames/%04d.jpg -c:v libx264 -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" out.mp4 && ffmpeg -i out.mp4 -pix_fmt rgb24 out.gif