1. 下载deeplab
2. 安装matio
sudo apt-get install libmatio-dev
3. 修改Makefile文件
LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs opencv_videoio
4. 编译
make all -j8
make matcaffe