Faster RCNN训练成功

Faster RCNN CPU模式下进行训练 一、首先参照博客http://blog.csdn.net/qq_14975217/article/details/51495844 对py-faster-rcnn内的roi_pooling_layer和smooth_L1_loss_layer进行替换并重新编译,编译过程参考https://github.com/neuleaf/faster-rcnn-cpu  和  http://www. 阅读详情
I1020 15:18:13.768215  2304 net.cpp:228] rpn_cls_score_reshape does not need backward computation.
I1020 15:18:13.768218  2304 net.cpp:228] rpn_bbox_pred does not need backward computation.
I1020 15:18:13.768220  2304 net.cpp:228] rpn_cls_score does not need backward computation.
I1020 15:18:13.768223  2304 net.cpp:228] rpn_conv1_rpn_relu1_0_split does not need backward computation.
I1020 15:18:13.768224  2304 net.cpp:228] rpn_relu1 does not need backward computation.
I1020 15:18:13.768226  2304 net.cpp:228] rpn_conv1 does not need backward computation.
I1020 15:18:13.768229  2304 net.cpp:228] conv5_relu5_0_split does not need backward computation.
I1020 15:18:13.768231  2304 net.cpp:228] relu5 does not need backward computation.
I1020 15:18:13.768234  2304 net.cpp:228] conv5 does not need backward computation.
I1020 15:18:13.768237  2304 net.cpp:228] relu4 does not need backward computation.
I1020 15:18:13.768240  2304 net.cpp:228] conv4 does not need backward computation.
I1020 15:18:13.768244  2304 net.cpp:228] relu3 does not need backward computation.
I1020 15:18:13.768245  2304 net.cpp:228] conv3 does not need backward computation.
I1020 15:18:13.768249  2304 net.cpp:228] pool2 does not need backward computation.
I1020 15:18:13.768251  2304 net.cpp:228] norm2 does not need backward computation.
I1020 15:18:13.768254  2304 net.cpp:228] relu2 does not need backward computation.
I1020 15:18:13.768257  2304 net.cpp:228] conv2 does not need backward computation.
I1020 15:18:13.768260  2304 net.cpp:228] pool1 does not need backward computation.
I1020 15:18:13.768263  2304 net.cpp:228] norm1 does not need backward computation.
I1020 15:18:13.768266  2304 net.cpp:228] relu1 does not need backward computation.
I1020 15:18:13.768270  2304 net.cpp:228] conv1 does not need backward computation.
I1020 15:18:13.768273  2304 net.cpp:270] This network produces output bbox_pred
I1020 15:18:13.768276  2304 net.cpp:270] This network produces output cls_prob
I1020 15:18:13.768296  2304 net.cpp:283] Network initialization done.
I1020 15:18:13.828038  2304 net.cpp:816] Ignoring source layer data
I1020 15:18:13.858983  2304 net.cpp:816] Ignoring source layer loss_cls
I1020 15:18:13.858994  2304 net.cpp:816] Ignoring source layer loss_bbox
I1020 15:18:13.859267  2304 net.cpp:816] Ignoring source layer silence_rpn_cls_score
I1020 15:18:13.859273  2304 net.cpp:816] Ignoring source layer silence_rpn_bbox_pred
im_detect: 1/100 0.124s 0.000s
im_detect: 2/100 0.077s 0.000s
im_detect: 3/100 0.061s 0.000s
im_detect: 4/100 0.053s 0.000s
im_detect: 5/100 0.048s 0.000s
im_detect: 6/100 0.045s 0.000s
im_detect: 7/100 0.042s 0.000s
im_detect: 8/100 0.041s 0.000s
im_detect: 9/100 0.039s 0.000s
im_detect: 10/100 0.038s 0.000s
im_detect: 11/100 0.037s 0.000s
im_detect: 12/100 0.036s 0.000s
im_detect: 13/100 0.036s 0.000s
im_detect: 14/100 0.035s 0.000s
im_detect: 15/100 0.034s 0.000s
im_detect: 16/100 0.034s 0.000s
im_detect: 17/100 0.034s 0.000s
im_detect: 18/100 0.033s 0.000s
im_detect: 19/100 0.033s 0.000s
im_detect: 20/100 0.033s 0.000s
im_detect: 21/100 0.033s 0.000s
im_detect: 22/100 0.032s 0.000s
im_detect: 23/100 0.032s 0.000s
im_detect: 24/100 0.032s 0.000s
im_detect: 25/100 0.032s 0.000s
im_detect: 26/100 0.032s 0.000s
im_detect: 27/100 0.031s 0.000s
im_detect: 28/100 0.031s 0.000s
im_detect: 29/100 0.031s 0.000s
im_detect: 30/100 0.031s 0.000s
im_detect: 31/100 0.031s 0.000s
im_detect: 32/100 0.031s 0.000s
im_detect: 33/100 0.031s 0.000s
im_detect: 34/100 0.031s 0.000s
im_detect: 35/100 0.031s 0.000s
im_detect: 36/100 0.030s 0.000s
im_detect: 37/100 0.030s 0.000s
im_detect: 38/100 0.030s 0.000s
im_detect: 39/100 0.030s 0.000s
im_detect: 40/100 0.030s 0.000s
im_detect: 41/100 0.030s 0.000s
im_detect: 42/100 0.030s 0.000s
im_detect: 43/100 0.030s 0.000s
im_detect: 44/100 0.030s 0.000s
im_detect: 45/100 0.030s 0.000s
im_detect: 46/100 0.030s 0.000s
im_detect: 47/100 0.030s 0.000s
im_detect: 48/100 0.030s 0.000s
im_detect: 49/100 0.030s 0.000s
im_detect: 50/100 0.030s 0.000s
im_detect: 51/100 0.030s 0.000s
im_detect: 52/100 0.030s 0.000s
im_detect: 53/100 0.030s 0.000s
im_detect: 54/100 0.029s 0.000s
im_detect: 55/100 0.029s 0.000s
im_detect: 56/100 0.029s 0.000s
im_detect: 57/100 0.029s 0.000s
im_detect: 58/100 0.029s 0.000s
im_detect: 59/100 0.029s 0.000s
im_detect: 60/100 0.029s 0.000s
im_detect: 61/100 0.029s 0.000s
im_detect: 62/100 0.029s 0.000s
im_detect: 63/100 0.029s 0.000s
im_detect: 64/100 0.029s 0.000s
im_detect: 65/100 0.029s 0.000s
im_detect: 66/100 0.029s 0.000s
im_detect: 67/100 0.029s 0.000s
im_detect: 68/100 0.029s 0.000s
im_detect: 69/100 0.029s 0.000s
im_detect: 70/100 0.029s 0.000s
im_detect: 71/100 0.029s 0.000s
im_detect: 72/100 0.029s 0.000s
im_detect: 73/100 0.029s 0.000s
im_detect: 74/100 0.029s 0.000s
im_detect: 75/100 0.029s 0.000s
im_detect: 76/100 0.029s 0.000s
im_detect: 77/100 0.029s 0.000s
im_detect: 78/100 0.029s 0.000s
im_detect: 79/100 0.029s 0.000s
im_detect: 80/100 0.029s 0.000s
im_detect: 81/100 0.029s 0.000s
im_detect: 82/100 0.029s 0.000s
im_detect: 83/100 0.029s 0.000s
im_detect: 84/100 0.029s 0.000s
im_detect: 85/100 0.029s 0.000s
im_detect: 86/100 0.029s 0.000s
im_detect: 87/100 0.029s 0.000s
im_detect: 88/100 0.029s 0.000s
im_detect: 89/100 0.029s 0.000s
im_detect: 90/100 0.029s 0.000s
im_detect: 91/100 0.029s 0.000s
im_detect: 92/100 0.029s 0.000s
im_detect: 93/100 0.029s 0.000s
im_detect: 94/100 0.029s 0.000s
im_detect: 95/100 0.029s 0.000s
im_detect: 96/100 0.029s 0.000s
im_detect: 97/100 0.029s 0.000s
im_detect: 98/100 0.029s 0.000s
im_detect: 99/100 0.029s 0.000s
im_detect: 100/100 0.029s 0.000s
Evaluating detections
Writing obj VOC results file
VOC07 metric? Yes
Reading annotation for 1/100
Saving cached annotations to /home/py-faster-rcnn/data/VOCdevkit2007/annotations_cache/annots.pkl
AP for obj = 0.4998
Mean AP = 0.4998
~~~~~~~~
Results:
0.500
0.500
~~~~~~~~

--------------------------------------------------------------
Results computed with the **unofficial** Python eval code.
Results should be very close to the official MATLAB eval code.
Recompute with `./tools/reval.py --matlab ...` for your paper.
-- Thanks, The Management
--------------------------------------------------------------

real	0m15.138s
user	0m14.596s
sys	0m1.168s
@-PC:~/py-faster-rcnn$ 
转载请注明: http://blog.csdn.net/forest_world
使用kaist数据集训练tf-faster-rcnn 使用kaist数据集训练tf-faster-rcnn 首先是修改pascal_voc.py,新建自己的kaist_rgb.py pacal_voc的数据格式很麻烦,annotation是xml格式,自己的数据一般都是txt,所以,不会像读取pascal_voc数据那么复杂。下面是前人在pascal_voc.py 基础上写的kaist Dataset的接口: # -------------... 阅读详情

相关推荐

Faster RCNN 训练自己的数据集

Faster RCNN 训练自己的数据集

Apple__fly的博客 4363

收藏 | Faster-RCNN详解 (训练过程和RPN与Fast R-CNN)

Faster-RCNN有两种训练方式:四步交替迭代训练和联合训练。本文主要讲解四步交替迭代的训练方式。Faster-RCNN主要由五部分构成:特征提取网络Backbone、RPN、ROI Pooing以及RCNN。其最大的创新点就是提出RPN替代RCNN中的Selective Search,应用卷积神经网络提取ROIs,极大地提升了检测的速度,称为实时目标检测的开山之作。笔者也会着重讲解RPN,请看下文。 首先讲一下Faster-RCNN的整体网络结构和训练方式吧,搭建好框架,其余的模块理解起来便会轻松一些

Just_do_myself的博客 8917

faster rcnn训练集标签生成

因为我当时训练的faster rcnn网络需要提取的boundingbox区域大致可以确定,所以下了个批量生成json标签的代码

Faster RCNN训练自己的数据集【傻瓜式教程】

Faster RCNN训练自己的数据集【傻瓜式教程】

magicnnonn的博客 2万+

faster-rcnn-pytorch-master[附带预训练权重可迁移学习].zip

自用收集的基于ResNet50的Faster RCNN目标检测网络框架,附带可迁移学习的预训练权重用于自学备用,感谢Bubbliiing

Python RK3588 MPP 8路视频硬解码!全体目光向我看齐!

本文重写了官方demo、加入了Zlmediakit进行拉流并通过pybind11将代码封装成so库,现在,在python中直接通过import的方式,就能完成基础的拉流解码操作,目前支持8路拉流解码!!!

m0_46303486的博客 4888

老卫带你学---faster-rcnn的两种训练方式

faster rcnn训练方式有两种,一种是交替优化方法(alternating optimization),即训练两个网络,一个是rpn,一个是fast rcnn,总计两个stage,每个stage各训练一次rpn和fast rcnn。另外一种训练方式为近似联合训练(approximate joint training),也称end to end的训练方式,训练过程中只训练一个权重网络,训练速度...

老卫带你学 1万+

第十六届蓝桥杯大赛软件赛(编程类)知识点大纲

难度:[1-3]难度:[1-5]难度:[1-3]难度:[2-5]难度:[1-5]

Future_yzx的博客 4119

faster-RCNN训练【环境配置→自建数据集→训练→改错】

前期工作:下载pycharm、anaconda、visual studio,下载faster-RCNN代码(我用的是B站。

m0_58845062的博客 5543

SpringSecurity(15)——OAuth2密码模式

SpringSecurity Oauth2密码模式

peng_gx的博客 1522

Halcon异常检测训练避坑指南:如何避免GPU内存溢出和样本不足问题

本文针对Halcon深度学习异常检测训练中常见的GPU内存溢出和样本不足两大难题,提供了从原理分析到实战解决方案的深度指南。通过调整批次大小、图像尺寸、使用梯度累积等技巧有效管理显存,并利用针对性数据增强与人工合成策略破解小样本困境,帮助开发者构建稳定高效的训练流程。

river的博客 222

Faster RCNN训练

训练 其余均为通用的训练流程,Faster RCNN源码上的train、predict均可使用。 import os import datetime import torch import transforms from FastRCNN_model import FasterRCNN, FastRCNNPredictor from ResNet50_FPN import ResNet50_FPN_backbone from Dataset_FasterRcnn import VOCDataset fr

weixin_44422920的博客 2890

Python爬虫实战:Playwright 攻克京东图书新书榜(含动态价格与分页)!

我长期专注 Python 爬虫工程化实战,主理专栏 《Python爬虫实战》:从采集策略到反爬对抗,从数据清洗到分布式调度,持续输出可复用的方法论与可落地案例。内容主打一个“能跑、能用、能扩展”,让数据价值真正做到——抓得到、洗得净、用得上。

喵手的博客 598

faster-rcnn训练成功

Saving cached annotations to /home/faster-rcnn/py-faster-rcnn/data/VOCdevkit2007/annotations_cache/annots.pkl AP for aeroplane = 0.5994 AP for bicycle = 0.7278 AP for bird = 0.5605 AP for boat = 0

计算机视觉算法、工程、产品 802

【ArcGIS遇上Python】ArcGIS10.8 Python代码批量完美实现MODIS NDVI数据格式转换和投影变换

由于论文的需要,将MODIS NDVI数据进行投影变换和格式转换,具体操作可以参照:《ArcGIS10.8完美实现MODIS NDVI数据格式转换和投影变换》,但是该文章中的做法只能一次性实现一景影像的转换,没法批量,虽然ArcGIS中提供了Batch的方法但是需要挨个添加数据,确定输出路径等等,本文就实现以ArcGIS10.8 Python代码批量完美实现MODIS NDVI数据格式转换和投影变换。先来看投影后的效果: 在实现批量投影转换之前,需要两个投影文件:Sinusoidal.prj和MyAl

智慧空间实验室 3822

掌握C++新特性中智能指针的综合指南

本文是一篇关于C++中智能指针的综合指南,旨在深入探讨现代内存管理的核心概念和技术。智能指针是C++中一种强大的工具,可以帮助开发人员更安全、高效地管理内存资源。通过详细解析各种类型的智能指针,包括unique_ptr、shared_ptr和weak_ptr,读者将了解它们的原理、用法和适用场景。本文将重点介绍智能指针的优势,如自动内存释放、避免内存泄漏和循环引用等问题。此外,还将讨论智能指针与传统指针的区别,并提供一些最佳实践和实用技巧,帮助读者在实际项目中正确、高效地使用智能指针。

Lion_Long的博客 1203

Faster Rcnn 训练自己的数据成功经验(matlab版)教程

Faster Rcnn 训练自己的数据成功经验(matlab版)教程 【下载地址】FasterRcnn训练自己的数据成功经验matlab版教程 本项目为MATLAB用户提供了一份详细教程,帮助您使用Faster Rcnn算法训练自定义数据集,实现高效目标检测。教程涵盖从数据准备到模型训练的全过程,包括数据集标注、VOC2...

gitblog_06776的博客 273

MIPI D-PHY的校准测试

MIPI的校准测试困扰了很久,今天终于得以解决!

一只豌豆象的博客 3933

Faster Rcnn+ZF用自己的数据训练模型成功经验(matlab版)

FasterRcnn+ZF用自己的数据训练模型成功经验(matlab版) 0.使用到的工具、代码等相关资源下载:  http://download.csdn.net/detail/oshenxingtianxia/9892932   1.首先得把demo运行起来,参考我的另一篇文章: http://blog.csdn.net/oshenxingtianxia/article/detail

oShenXingTianXia的博客 2380

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

复现Faster-RCNN-TensorFlow-Python3.5代码,并用自己的数据集来训练

本文用的系统是Ubuntu 16.04, tensorflow-gpu, python=3.5 代码下载地址:https://github.com/dBeker/Faster-RCNN-TensorFlow-Python3.5 教程链接:https://github.com/dBeker/Faster-RCNN-TensorFlow-Python3.5(就在代码页面的下面) 一、首先下载Fast...

kelly若的博客 7390

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

Faster RCNN pytorch 1.0版调试(踩坑)过程记录

本博客记录了用pytorch实现的faster rcnn代码,完成VOC2007数据集,以及个人数据集的训练及测试过程。比较少做目标检测方向的实验,花了点时间调通代码,记录一下填坑过程。 前言 Faster RCNN是一个很成熟的two-stage目标检测算法,由Kaiming He等大神在2015年提出。该算法在2015年的ILSVRV和COCO竞赛中获得多项第一,在VOC2007+2012数据集和COCO数据集上有很客观的mAP,同时利用所提出的RPN网络大幅提升了测试阶段的速度。整个RCNN系列的目标

sinat_35862942的博客 4007

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

tf-faster-rcnn在VOC数据集或者其他数据集训练

参考博主博客 主要是为了记录搭配的一个过程还有中间遇到的坑。 首先要配好需要的环境。 具体代码https://github.com/endernewton/tf-faster-rcnn可以下载 构建Cpython模块 到tf-faster-rcnn目录下执行 cd tf-faster-rcnn/lib make clean make cd .. 安装 Python COCO API git cl...

JUST CODE IT 859

Faster-RCNN的Tensorflow架构代码-目标检测(已跑通)

Faster-RCNN的Tensorflow架构代码-目标检测(已跑通) 去发现同类优质开源项目:https://gitcode.com/ 简介 本仓库提供了基于Tensorflow架构的Faster-RCNN目标检测算法的完整代码,该代码已经过测试并成功运行。Faster-RCNN是一种流行的深度学习目标检测算法,它适用于多种场景下的目标检测任务。 功能 目标检测:利用Faster-RCNN算...

gitblog_06700的博客 946

ValueError: need at least one array to concatenate解决方法(mmdetection训练faster-rcnn报错)

在你指定的训练文件中添加下面代码把其中的类别换成你自己的然后在加载数据集的地方添加也就是在不过要注意 可能你的训练文件只有继承某些py文件 像我的是继承了几个py文件,然后我上面这个是在coco_detection里面加的,详情看下面分析(因为我训练的是coco类型的数据集 所以继承了这个coco_detection)

weixin_72669800的博客 1608

Ubuntu 16.04 下 py-faster-rcnn运行配置流程

本篇博文旨在记录如何跑通py-fater-rcnn的过程。 论文地址:Faster R-CNN 代码:py-faster-rcnn 环境准备 py-faster-rcnn 是依赖caffe的,所以需要安装caffe。相关环境配置可以参考: Ubuntu16.04 Caffe 安装步骤记录(超详尽) 通常如果你用的是服务器,并且相关依赖环境已经安装好后,而且你也没有sudoer权限(比如我

kinredon的博客 1515

SmallCorgi/TF-Faster RCNN测试

环境配置 Github上给出SmallCorgi的链接TF-Faster RCNN,按照要求配置环境。 sudo pip install cython sudo pip install easydict sudo pip install opencv-python 进入lib文件夹,make编译源代码。 ————————————注意———————————————— 后面测试的时候仍然...

GuanghaoChen的博客 1625
上一篇: Faster RCNN训练出现问题:ValueError: operands could not be broadcast together with shapes
下一篇: Faster RCNN win版本
cv.exp
博客等级 码龄14年 462粉丝 323原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值