机器学习叨叨叨

今天搭好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-python

http://stackoverflow.com/questions/29801552/oserror-errno-13-permission-denied

http://answers.ros.org/question/11557/importerror-no-module-named-yaml/


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值