YOLOv5基础知识点——性能指标

目标检测(object detection)=what + where

Localization+Recongnition

类别标签(category label)

置信度得分(confidence score)

最小外接矩形(bounding box)

定位是找到检测图像中带有一个给定标签的单个目标;

检测是寻找到图像中带有给定标签的所有目标

目标检测性能指标=检测精度+检测速度

检测精度

Precision,Recall,Fl score

IoU(Intersection over Union)

P-R curve (Precison-Recall cureve)

AP(Average Precision)

mAP(mean Average Precision)

检测速度

前传耗时

每秒帧数FPS(Frames Per Second)

浮点运算量(FLOPS)

混淆矩阵(confusion matrix)

对于边界框的分类用混淆矩阵衡量

精度precision (查准率)是评估预测的准不准(看预测列)

召回率Recall(查全率)是评估找的全不全(看实际行)

IoU(Intersection over Union)

边界框框的准不准用IoU来衡量

IoU=1 predicted and the ground-truth bounding boxes perfectly overlap.

you can set a threshold value(阈值) for the IoU to determine if the objext detection is valid or not.

 Let‘s say you set IoU to 0.5,in that case:

if IoU≥0.5,-->True Positive(TP)

if IoU<0.5, it is a wring detection and classify it as False Positive(FP)

When a ground truth is present in the image and modell failed to detect the object, claasify it as False Negative(FN).

True Negative(TN):TN is every part of the image where we did not predict an object. This metrics is not useful for ibject detection, hence we ignore TN.

AP衡量的是学习出来的模型在每个类别上的好坏。

mAP衡量的是学出的模型在所有类别上的好坏。mAP就是取所有类别上AP的平均值。

 

 IoU阈值越大,对检测框要求就越紧,recall召回率就相对小

 AP(Average Precision)计算

AP计算之11点法 

 

 

 AP计算之积分法(Area under curve AU)

 检测速度评估

前传耗时(ms):从输入一张图像到输出最终结果所消耗的时间,包括前处理耗时(如图像归一化)、网络前传耗时、后处理耗时(如非极大值抑制)

每秒帧数FPS(Frames Per Second):每秒钟能处理的图像数量

浮点运算量(FLOPS):处理一张图像所需要的浮点运算数量,跟具体软硬件没有关系,可以公平地比较不同算法之间的检测速度。

最适合新手入门的【YOLOV5目标实战】教程!基于Pytorch搭建YOLOV5目标检测平台!环境部署+项目实战(深度学习/计算机视觉)_哔哩哔哩_bilibili

  • 13
    点赞
  • 94
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

MUTA️

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值