torch-hdf5
sudo apt-get install libhdf5-serial-dev hdf5-tools
git clone https://github.com/deepmind/torch-hdf5
cd torch-hdf5
sudo luarocks make hdf5-0-0.rockspec LIBHDF5_LIBDIR=”/usr/lib/x86_64-Linux-gnu/”
loadcaffe
git clone https://github.com/szagoruyko/loadcaffe.git
cd loadcaffe
sudo apt-get install libprotobuf-dev protobuf-compiler
luarocks install loadcaffe
matio
luarocks install matio