Thursday, July 24, 2014

squeeze() takes no keyword arguments on caffe

If you get this error when you run any of the python modules in caffe. It is possible that you have an older version of numpy. You just need to upgrade to the latest version. You can do

sudo pip install -U numpy


Good luck

Tuesday, July 15, 2014

mkl_vsl.h: No such file or directory with caffe

I encounter this problem when trying to compile the implementation of NIN on the caffe branch cccp-dev.

To fix the error I had to include a MKL_DIR variable in the Makefile.config file and set it to

MKL_DIR := /opt/intel/mkl

I also included the mkl directory on my LD_LIBRARY_PATH but that didn't seem to help.

After doing that it compiled the code