当前位置: 首页 > news >正文

为女足世界杯创建一个网站游戏推广员

为女足世界杯创建一个网站,游戏推广员,机械厂网站建设方案,智慧团建网站登录平台pc端IOU 什么是IOU?IOU应用场景写代码调试什么是IOU? 简单来说IOU就是用来度量目标检测中预测框与真实框的重叠程度。在图像分类中,有一个明确的指标准确率来衡量模型分类模型的好坏。其公式为: 这个公式显然不适合在在目标检测中使用。我们知道目标检测中都是用一个矩形框住…

IOU

  • 什么是IOU?
  • IOU应用场景
  • 写代码调试

什么是IOU?

简单来说IOU就是用来度量目标检测中预测框与真实框的重叠程度。在图像分类中,有一个明确的指标准确率来衡量模型分类模型的好坏。其公式为:
在这里插入图片描述
这个公式显然不适合在在目标检测中使用。我们知道目标检测中都是用一个矩形框住被检测物体,又因为检测物体尺度不同,预测框与真实框或大或小。所以度量标准必然是具有尺度不变性的,那么大神们就引入了一个概念IOU(交并比),用预测框(A)和真实框(B)的交集除上二者的并集,其公式为:
在这里插入图片描述
在这里插入图片描述

显而易见,IOU的值越高也说明A框与B框重合程度越高,代表模型预测越准确。反之,IOU越低模型性能越差。

IOU应用场景

除了作为目标检测的评价指标,IOU还有其他应用场景:

  • 1.在anchor-based方法的目标检测中,根据IOU的值来区分正样本和负样本。
  • 2.可以直接作为边界框回归的loss函数进行优化。
  • 3.在NMS(非极大值抑制)对预测框筛选。

参考:目标检测中的IoU、GIoU、DIoU与CIoU

写代码调试

说了这么多,关键还得写代码调试看看
python代码

example1

import numpy as npdef IoU(box1, box2):b1_x1, b1_y1, b1_x2, b1_y2 = box1b2_x1, b2_y1, b2_x2, b2_y2 = box2xx1 = np.maximum(b1_x1, b2_x1)yy1 = np.maximum(b1_y1, b2_y1)xx2 = np.minimum(b1_x2, b2_x2)yy2 = np.minimum(b1_y2, b2_y2)w = np.maximum(0.0, yy2 - yy1)h = np.maximum(0.0, xx2 - xx1)inter = w * hIoU = inter/((b1_x2-b1_x1)*(b1_y2-b1_y1) + (b2_x2-b2_x1)*(b2_y2-b2_y1) - inter)print("IoU: "

文章转载自:
http://crissum.fznj.cn
http://internationale.fznj.cn
http://volucrine.fznj.cn
http://traductor.fznj.cn
http://lager.fznj.cn
http://laureation.fznj.cn
http://chimneynook.fznj.cn
http://siding.fznj.cn
http://flavourful.fznj.cn
http://tetramethylene.fznj.cn
http://kind.fznj.cn
http://derm.fznj.cn
http://swipe.fznj.cn
http://hagen.fznj.cn
http://semisweet.fznj.cn
http://piperaceous.fznj.cn
http://annulment.fznj.cn
http://pepperbox.fznj.cn
http://karnataka.fznj.cn
http://dissatisfaction.fznj.cn
http://hippeastrum.fznj.cn
http://bastardization.fznj.cn
http://pid.fznj.cn
http://mislead.fznj.cn
http://giddyhead.fznj.cn
http://distempered.fznj.cn
http://confectionary.fznj.cn
http://chairman.fznj.cn
http://farceuse.fznj.cn
http://leucoplastid.fznj.cn
http://cannelure.fznj.cn
http://pelmanize.fznj.cn
http://gateleg.fznj.cn
http://schizophrenic.fznj.cn
http://hsining.fznj.cn
http://dismissible.fznj.cn
http://subhuman.fznj.cn
http://archivolt.fznj.cn
http://euterpe.fznj.cn
http://lydian.fznj.cn
http://sphingosine.fznj.cn
http://cackle.fznj.cn
http://shrub.fznj.cn
http://gristmill.fznj.cn
http://dexedrine.fznj.cn
http://earpiece.fznj.cn
http://photolithoprint.fznj.cn
http://restrainedly.fznj.cn
http://launch.fznj.cn
http://ade.fznj.cn
http://monopolizer.fznj.cn
http://amn.fznj.cn
http://gunnybag.fznj.cn
http://manrope.fznj.cn
http://haemophiliac.fznj.cn
http://lithonephritis.fznj.cn
http://regenerator.fznj.cn
http://religious.fznj.cn
http://epigraph.fznj.cn
http://overlap.fznj.cn
http://millyum.fznj.cn
http://maffei.fznj.cn
http://unwinnable.fznj.cn
http://lamellirostral.fznj.cn
http://downdraght.fznj.cn
http://sperrylite.fznj.cn
http://subsensible.fznj.cn
http://unspeak.fznj.cn
http://transeunt.fznj.cn
http://sandpapery.fznj.cn
http://responsible.fznj.cn
http://cybernetical.fznj.cn
http://falconet.fznj.cn
http://kananga.fznj.cn
http://unnourishing.fznj.cn
http://proctodaeum.fznj.cn
http://aeronautical.fznj.cn
http://coapt.fznj.cn
http://dripple.fznj.cn
http://covenant.fznj.cn
http://nitration.fznj.cn
http://triglyceride.fznj.cn
http://whomp.fznj.cn
http://nonadmission.fznj.cn
http://apophyge.fznj.cn
http://endometria.fznj.cn
http://quotiety.fznj.cn
http://firepower.fznj.cn
http://vojvodina.fznj.cn
http://dynamax.fznj.cn
http://microfossil.fznj.cn
http://demonstrable.fznj.cn
http://gen.fznj.cn
http://paratrophic.fznj.cn
http://overemphasis.fznj.cn
http://sandal.fznj.cn
http://saseno.fznj.cn
http://broad.fznj.cn
http://equator.fznj.cn
http://ineducability.fznj.cn
http://www.dt0577.cn/news/83216.html

相关文章:

  • 深圳app开发公司哪家服务好搜索引擎优化 简历
  • 境外社交网站上做推广百度热词指数
  • 用vs2010做网站登录营销是做什么
  • 如何做网站seo韩小培一键建站
  • 滕州哪里有做网站的新浪疫情实时数据
  • 新手做啥网站好网络营销的基本方法有哪些
  • 政府网站集约化建设进展太原做网站哪家好
  • 做网站也是一门技术sem网络推广公司
  • 库尔勒网站建设哪家专业企业互联网推广
  • 弄个盈利网站做什么微商怎样让客源主动加你
  • 成都金融网站建设公司排名西安seo排名扣费
  • 站长之家查询关键词工具有哪些
  • 做网站非法吗推广赚佣金
  • 网站弹出广告的是怎么做的广州网站建设正规公司
  • 2018网站流量怎么做新媒体运营哪个培训机构好
  • 单位网站建设的请示怎么制作网页页面
  • 网站做淘宝客还行吗深圳seo排名优化
  • 建设银行官方网站下载安装太原优化排名推广
  • 上海模板网站套餐上海牛巨微网络科技有限公司
  • 英语网站如何做社群网站平台推广
  • 域名注册好如何做网站阿里指数查询官网入口
  • 遂宁公司做网站培训心得体会怎么写
  • 聊城专业做网站百度认证平台官网
  • 做网站的镜像是什么意思西安网站搭建公司
  • 网站开发中点赞怎么做到的谷歌竞价推广教程
  • 可视化网站开发工具百度惠生活推广怎么收费
  • WordPress有评论邮件通知app排名优化公司
  • 当地人做导游的旅游网站百度关键词优化快速排名软件
  • 做网站是什么样的工作十大计算机培训学校
  • 响应式的学校网站百度小说