LARC DL笔记(一): Caffe Setup

采用杂记的形式

因原foodai项目采用caffe,所以在tensorflow与caffe中选择了后者

从查找到知乎页面开始:https://www.zhihu.com/question/27982282
到mnist example页面:http://caffe.berkeleyvision.org/gathered/examples/mnist.html
到caffe installation页面:http://caffe.berkeleyvision.org/installation.html

马帅:
n001和002基本环境已搭好
caffe要自己装

我们支持
有cuDNN加速,对于makefile.config

For cuDNN acceleration using NVIDIA’s proprietary cuDNN software, uncomment the USE_CUDNN := 1 switch in Makefile.config. cuDNN is sometimes but not always faster than Caffe’s GPU acceleration.

opencv版本是3.2
CUDNN5.1

make all -j24
多线程编译,这样编译的很快

编译出现这个问题

LARC DL笔记(一): Caffe Setup

熊伟:
LARC DL笔记(一): Caffe Setup

usr local 里面
ldd 看下bin的关联库
你在makefile里编译opencv的地方加codecs的编译库
其实不必这样做

安装详见GitHub:https://github.com/billhhh/caffe-LARC

最后成功训练出一个LeNet

LARC DL笔记(一): Caffe Setup

很好的参考资料:http://www.linuxidc.com/Linux/2016-11/136774p9.htm

跑起cifar10实例

LARC DL笔记(一): Caffe Setup