今天搭好caffe,跑了lenet的mnist,听说这个mnist和imagenet一样都是数据集,而lenet和cnn对等,都是一种网络。
这个lnet是训练手写内容识别模型的最佳网络模型
LeNet各层的属性在$CAFFE_ROOT/examples/mnist/lenet_train_test.prototxt中进行了定义。
使用~/caffe-master$ vi ./examples/mnist/lenet_train_test.prototxt命令即可查看网络各层的定义。还有,examples/mnist/lenet.prototxt好像也挺重要的。
哦,对了,就是运行那个sh文件的时候好像得从example啥的那个路径打开,不然出错,听说新版caffe就这样,什么鬼。
我又打算参考这个进行图像识别
http://wenku.baidu.com/link?url=Kuhp0ops4WXH7nd8dFF2ehVD3xeI4sJLsUrw1AIbhwgDE8hSQGHuPF0Kg4kXfE9l065MKwV1TzSD0J6Vs-SOmWAKcSDhO1AdrMOrkc-qe-e
怎么下载训练好的模型?http://caffe.berkeleyvision.org/model_zoo.html
官网这么说:scripts/download_model_binary.py <dirname>
where <dirname>
is specified below:
- BVLC Reference CaffeNet in
models/bvlc_reference_caffenet
: AlexNet trained on ILSVRC 2012, with a minor variation from the version as described in ImageNet classification with deep convolutional neural networks by Krizhevsky et al. in NIPS 2012. (Trained by Jeff Donahue @jeffdonahue) - BVLC AlexNet in
models/bvlc_alexnet
: AlexNet trained on ILSVRC 2012, almost exactly as described in ImageNet classification with deep convolutional neural networks by Krizhevsky et al. in NIPS 2012. (Trained by Evan Shelhamer @shelhamer) - BVLC Reference R-CNN ILSVRC-2013 in
models/bvlc_reference_rcnn_ilsvrc13
: pure Caffe implementation of R-CNN as described by Girshick et al. in CVPR 2014. (Trained by Ross Girshick @rbgirshick) - BVLC GoogLeNet in
models/bvlc_googlenet
: GoogLeNet trained on ILSVRC 2012, almost exactly as described in Going Deeper with Convolutions by Szegedy et al. in ILSVRC 2014. (Trained by Sergio Guadarrama @sguada)
遇见一些问题:
http://stackoverflow.com/questions/14261614/how-do-i-install-the-yaml-package-for-pythonhttp://stackoverflow.com/questions/29801552/oserror-errno-13-permission-denied
http://answers.ros.org/question/11557/importerror-no-module-named-yaml/