![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
caffe
cvml
这个作者很懒,什么都没留下…
展开
-
affe训练cifar10遇到./build/tools/caffe: not found 错误解决方法
转自 http://blog.csdn.net/zhongshaoyy/article/details/53502373 cifar10训练步骤如下: (1)打开终端,应用cd切换路径,如 cd ~/caffe/data/cifar10 , (2)继续执行命令 ./get_cifar10.sh, (3)成功下载数据集之后,执行ls即可见所下载的数据文件, (转载 2017-01-25 09:33:34 · 1553 阅读 · 0 评论 -
caffe 安装 无法import caffe
按照下面的步骤进行就好了,一般原因是,一些库的版本不匹配,如numpysudo apt-get install python-numpy python-scipy python-matplotlib python-sklearn python-skimage python-h5py python-protobuf python-leveldb python-networkx python-nos...原创 2018-07-03 16:03:49 · 1866 阅读 · 0 评论 -
python读取caffemodel
#coding=utf-8 import caffe if __name__ == "__main__": #文件的存放路径 root = '/home/xgx/Downloads/resnet-protofiles/' caffe.set_mode_cpu net = caffe.Net(root+'ResNet_101_deploy.prototxt原创 2017-12-06 17:54:18 · 625 阅读 · 0 评论 -
使用caffe训练时Loss变为nan的原因
梯度爆炸 原因:梯度变得非常大,使得学习过程难以继续 现象:观察log,注意每一轮迭代后的loss。loss随着每轮迭代越来越大,最终超过了浮点型表示的范围,就变成了NaN。 措施: 1. 减小solver.prototxt中的base_lr,至少减小一个数量级。如果有多个loss layer,需要找出哪个损失层导致了梯度爆炸,并在train_val.prototxt中减小该转载 2017-11-27 15:18:46 · 525 阅读 · 0 评论 -
caffe python lmdb读写
转自 https://www.cnblogs.com/zhonghuasong/p/7469750.html caffe中可以采取lmdb健值数据库的方式向网络中输入数据。 所以操作lmdb就围绕“键-值“的方式访问数据库就好了。 Write 我们可以采用cv2来读入自己的图像数据,采用datum格式来存储数据。 Datum is a Google Protobuf Mess转载 2017-12-09 10:10:02 · 544 阅读 · 0 评论 -
Python生成PASCAL VOC格式的xml标注文件
PASCAL VOC数据集的标注文件是xml格式的。对于py-faster-rcnn 或者ssd,通常以下示例的字段是合适的: annotation> folder>GTSDBfolder> filename>000001.jpgfilename> size> width>500width> height>375height> depth>3depth>转载 2017-11-15 11:52:15 · 2234 阅读 · 0 评论 -
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks程序(Python)配置问题总结
转自 http://blog.csdn.net/jiajunlee/article/details/50373815 目录 目录 预先浏览QA Q1 error utilsbboxc No such file or directoryQ2 error nmscpu_nmsc No such file or directoryQ3转载 2017-11-03 15:53:55 · 591 阅读 · 0 评论 -
caffe 与cudnn版本不匹配 ./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function
这是因为当前版本的caffe的cudnn实现与系统所安装的cudnn的版本不一致引起的。 解决办法: 1.将./include/caffe/util/cudnn.hpp 换成最新版的caffe里的cudnn的实现,即相应的cudnn.hpp. 2. 将./include/caffe/layers里的,所有以cudnn开头的文件,例如cudnn_conv_layer.hpp。原创 2017-11-02 11:38:59 · 3882 阅读 · 0 评论 -
caffe2 ubuntu16.04 安装错误 cannot find -lopencv_dep_cudart
[ 54%] Linking CXX shared library libCaffe2_CPU.so /usr/bin/ld: cannot find -lopencv_dep_cudart collect2: error: ld returned 1 exit status caffe2/CMakeFiles/Caffe2_CPU.dir/build.make:4245: recip原创 2017-08-22 10:21:10 · 2507 阅读 · 3 评论 -
caffe 修改源码多标签输入
待原创 2017-08-20 15:47:24 · 219 阅读 · 0 评论 -
caffe深度学习网络(.prototxt)可视化工具
网址:http://ethereon.github.io/netscope/#/editor 将.prototxt中的内容输入到文本框中,然后按shift+enter键,就会得到可视化网络,如:转载 2017-08-05 15:25:44 · 351 阅读 · 0 评论 -
error while loading shared libraries: libcudart.so.7.5: cannot open shared ......解决方法
两种方法: 第一种: 当libcudart.so.7.5存在,但是还是报错的情况下,需要设置一下链接,按照下面的方法设置即可: 在 /etc/ld.so.conf.d/加入文件 cuda.conf, 内容如下 [html] view plain copy /usr/local/cuda-6.5/lib64 执行下列命令使之立刻生原创 2017-01-25 14:16:16 · 660 阅读 · 0 评论