自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (1)
  • 收藏
  • 关注

原创 python实现图像数据扩增

包括平移,翻转,旋转,调整对比度,高斯噪声,颜色变换import skimageimport io,osimport matplotlib.pyplot as pltfrom PIL import Image,ImageEnhanceimport cv2#root_path为图像根目录,img_name为图像名字def move(root_path,img_name,off): #平移,平

2017-10-25 11:37:33 7112

原创 深度学习-根据日志画loss-acc折线图

根据训练后的log日志画训练的loss-acc折线图import matplotlib.pyplot as pltl_n = 0a_n = 0loss_x = []loss_y = []acc_x = []acc_y = []with open("/home/hytz/Downloads/Yifan/caffe-face/v2_log.txt") as f: #根据自己的目录做对应

2017-10-25 11:07:17 9891 6

原创 ValueError: could not broadcast input array from shape (300,2,300,1) into shape (300,2,1,1)

用inception-V4做RFCN的网络来训练目标检测模型,遇到的问题如下:_### File "./tools/demo_inception.py", line 378, in , = im_detect(net, im)File "/home/hytz/Downloads/DB-R-FCN_scale_4/tools/../lib/fast_rcnn/test.py", line

2017-08-25 14:06:40 24650

原创 SSD/DSOD check failed :mean_values_.size() == 1 || mean_values_.size() == img_channels Specify eithe

用SSD训练自己的数据时遇到了这个错误,查看cpp文件,报错原因是mean.size()和输入图像的通道数不一致。导致错误的原因可能如下:1.数据集存在单通道图像:      在ssd_pascal.py的train_transform_param中参数定义可知道ssd默认图像为三通道RGB.解决:      找出到通道图像转为三通道RGB2.默认读取灰度图像(这种可能性大

2017-08-23 16:24:08 1684 7

原创 目标检测的标注工具--集成环境版本labelImg

免配置exe版本的LabelImg,可以直接运行。百度云链接 密钥:nprg

2017-08-21 18:56:08 447

原创 SSD生成LMDB报错:ssd ImportError: No module named caffe.proto

原因一:    没有编译pycaffe接口,重新编译,执行 make -j8 && make pycaffe原因二:    scripts下的create_annoset.py文件没有添加pycaffe路径添加如下:import syssys.path.append(' your caffe path/python') #your caffe path就是你caffe-ssd

2017-08-20 16:48:40 1304

原创 R-FCN/Faster-rcnn使用snapshot继续训练

R-FCN/Faster-rcnn使用snapshot继续训练r-fcn 和 faster-rcnn本身不能直接使用solverstate继续训练。 需要修改lib/fast_rcnn /train.py 和 tools/train_net.py 具体: lib/fast_rcnn/train.py 修改init函数:def __init__(self, solver_protot

2017-07-13 15:36:34 2712 3

原创 faster-rcnn 多尺度目标检测

因为项目需要对小物体进行目标检测,首先想到了用densebox训练faster-rcnnfaster-rcnn论文给出的anchor是9个 ,由3(scale:128*128,256*256,512*512)* 3(ratio:1:1,1:2, 2:1)得来添加一个64*64的scale,和 1.5:1的ratio, anchor数目变为16.具体为修改lib/rpn/gene

2017-06-14 21:33:19 2951 1

原创 py-faster-rccn问题集中营

1."libcudnn.so.5 cannot open shared object file: No such file or directory""libcudart.so.8.0 cannot open shared object file: No such file or directory"Solution:注意cuda和cudnn的版本型

2017-06-07 10:01:41 456

原创 smooth_L1_loss_layer.cpp:28] Check failed: bottom[0]->channels() == bottom[1]->channels() (12 vs. 84

用faster RCNN训练自己的数据时候遇到的问题,具体为使用vgg16的end_2_end训练这种问题一般都是train.prototxt的类别数没有改好导致的在的vgg16的end_2_end下的train.prototxt需要改的是data层的num_classes: n (自己要训练的类别+1,1代表背景)以及 roi_data层的num_classes:ncls_s

2017-06-07 09:17:54 5496 1

原创 基于ubuntu14.04 cuda7.5 cudnn5.1caffe 配置

基于ubuntu14.04 cuda7.5 cudnn5.1 caffe 配置1.  软硬件条件:双显卡(intel & NVIDIA GTX960m)Win10 & Ubuntu14.04 双系统2.  安装步骤:安装配置主要包括:CUDA CUDNN  OPENCV CAFFE参考:CUDA CAFFE 的官网文档(**************很重要)若干博客:

2016-10-11 10:44:44 549

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除