caffe
文章平均质量分 62
imperfect00
如果有梦想不去坚持实现,就是空想。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
caffe学习笔记-模型代码生成.prototxt文件
caffe学习笔记-模型代码生成.prototxt文件原创 2017-08-16 18:10:08 · 3380 阅读 · 0 评论 -
python调用caffe
首先需要安装caffe for python,安装过程可以参考:http://blog.youkuaiyun.com/u011961856/article/details/76557509 python 中调用caffe库函数为: import caffe 如果不再caffe目录下运行汇报错: import caffe ImportError: No module named caffe 这是原创 2017-08-14 11:37:27 · 13594 阅读 · 0 评论 -
src/caffe/util/matio_io.cpp:10:19: fatal error: matio.h: No such file or directory compilation termi
编译PSPNet caffe时,出现错误: src/caffe/util/matio_io.cpp:10:19: fatal error: matio.h: No such file or directory compilation terminated. Makefile:575: recipe for target '.build_release/src/caffe/util/matio原创 2017-08-12 16:34:36 · 4806 阅读 · 0 评论 -
ubuntu16.04安装caffe python接口安装
下载caffe: git clone https://github.com/BVLC/caffe 安装opencv,具体步骤可以参考: http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html Copy the Makefile.config.example to Make原创 2017-08-01 20:23:45 · 6581 阅读 · 0 评论 -
caffe 学习笔记-prototxt文件定义与读取
caffe 学习笔记-prototxt文件定义与读取caffe中,模型定义在.prototxt文件中,文件中定义了每层的结构信息.原创 2017-08-15 12:36:26 · 8178 阅读 · 0 评论 -
caffe 学习笔记-模型训练与测试
以LeNet 手写字体识别为例,首先进入caffe安装目录,并下载手写字体训练数据:cd $CAFFE_ROOT sudo ./data/mnist/get_mnist.sh将图片转换成lmdb文件:sudo ./examples/mnist/create_mnist.sh 运行后得到 mnist_train_lmdb和mnist_test_lmdb./examples/mnist/lenet_so原创 2017-08-15 18:02:40 · 647 阅读 · 0 评论 -
caffe 模型转tensorflow
下载模型转换代码:git clone https://github.com/ethereon/caffe-tensorflowcaffe-tensorflow模型转换文件为convert.py,可以将caffe的模型定义文件.prototxt和训练好的模型分别转换为tensorflow类,和tensorflow模型文件.在example文件夹下提供了examples/minist和examples/原创 2017-09-11 19:56:41 · 8589 阅读 · 0 评论 -
caffe loss layers
1.Softmax 类型(type):SoftmaxWithLoss(广义线性回归分析损失层) Softmax Loss Layer计算的是输入的多项式回归损失(multinomial logistic loss of the softmax of its inputs)2.Sum-of-Squares / Euclidean 类型(type):EuclideanLoss(欧式损失层) euclid原创 2018-01-01 15:02:54 · 622 阅读 · 0 评论 -
caffe.Classifier
gender_net = caffe.Classifier(network, pretrained_model, channel_swap=(2, 1, 0), raw_scale=255, ima原创 2018-01-03 19:00:09 · 1623 阅读 · 0 评论 -
Check failed: status == CUDNN_STATUS_SUCCESS (4 vs 0)
将prototxt文件,如deploy.prototxt中的行, #engine: CAFFE 的#去掉, engine: CAFFE原创 2018-12-12 14:57:34 · 2327 阅读 · 0 评论
分享