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

了解网站开发的背景东莞seo外包

了解网站开发的背景,东莞seo外包,免费店铺logo在线制作,手机网站开发c今天看到一篇文章主要是提出了一种更有效的IOU度量方法,论文地址在这里,如下所示: 摘要 边界盒回归损失作为检测器定位分支的重要组成部分,在目标检测任务中起着重要作用。现有的边界框回归方法通常考虑GT框和预测框之间的几何关…

今天看到一篇文章主要是提出了一种更有效的IOU度量方法,论文地址在这里,如下所示:

摘要

边界盒回归损失作为检测器定位分支的重要组成部分,在目标检测任务中起着重要作用。现有的边界框回归方法通常考虑GT框和预测框之间的几何关系,并使用边界框的相对位置和形状来计算损失,而忽略了边界框的形状和比例等固有特性对边界框回归的影响。为了弥补现有研究的不足,本文提出了一种以包围盒本身的形状和尺度为重点的包围盒回归方法。首先,我们分析了边界框的回归特性,发现边界框本身的形状和比例因素会对回归结果产生影响。基于上述结论,我们提出了Shape-IoU方法,该方法可以通过关注边界框本身的形状和比例来计算损失,从而使边界框回归更加准确。最后,我们通过大量的对比实验验证了我们的方法,结果表明我们的方法可以有效地提高检测性能,并优于现有方法,在不同的检测任务中达到最先进的性能。

作者也开源了对应的代码,如下所示:

def shape_iou(box1, box2, xywh=True, scale=0, eps=1e-7):
    (x1, y1, w1, h1), (x2, y2, w2, h2) = box1.chunk(4, -1), box2.chunk(4, -1)
    w1_, h1_, w2_, h2_ = w1 / 2, h1 / 2, w2 / 2, h2 / 2
    b1_x1, b1_x2, b1_y1, b1_y2 = x1 - w1_, x1 + w1_, y1 - h1_, y1 + h1_
    b2_x1, b2_x2, b2_y1, b2_y2 = x2 - w2_, x2 + w2_, y2 - h2_, y2 + h2_

    # Intersection area
    inter = (torch.min(b1_x2, b2_x2) - torch.max(b1_x1, b2_x1)).clamp(0) * \
            (torch.min(b1_y2, b2_y2) - torch.max(b1_y1, b2_y1)).clamp(0)

    # Union Area
    union = w1 * h1 + w2 * h2 - inter + eps

    # IoU
    iou = inter / union

    #Shape-Distance    #Shape-Distance    #Shape-Distance    #Shape-Distance    #Shape-Distance    #Shape-Distance    #Shape-Distance  
    ww = 2 * torch.pow(w2, scale) / (torch.pow(w2, scale) + torch.pow(h2, scale))
    hh = 2 * torch.pow(h2, scale) / (torch.pow(w2, scale) + torch.pow(h2, scale))
    cw = torch.max(b1_x2, b2_x2) - torch.min(b1_x1, b2_x1)  # convex width
    ch = torch.max(b1_y2, b2_y2) - torch.min(b1_y1, b2_y1)  # convex height
    c2 = cw ** 2 + ch ** 2 + eps                            # convex diagonal squared
    center_distance_x = ((b2_x1 + b2_x2 - b1_x1 - b1_x2) ** 2) / 4
    center_distance_y = ((b2_y1 + b2_y2 - b1_y1 - b1_y2) ** 2) / 4
    center_distance = hh * center_distance_x + ww * center_distance_y
    distance = center_distance / c2

    #Shape-Shape    #Shape-Shape    #Shape-Shape    #Shape-Shape    #Shape-Shape    #Shape-Shape    #Shape-Shape    #Shape-Shape    
    omiga_w = hh * torch.abs(w1 - w2) / torch.max(w1, w2)
    omiga_h = ww * torch.abs(h1 - h2) / torch.max(h1, h2)
    shape_cost = torch.pow(1 - torch.exp(-1 * omiga_w), 4) + torch.pow(1 - torch.exp(-1 * omiga_h), 4)
    
    #Shape-IoU    #Shape-IoU    #Shape-IoU    #Shape-IoU    #Shape-IoU    #Shape-IoU    #Shape-IoU    #Shape-IoU    #Shape-IoU
    iou = iou - distance - 0.5 * ( shape_cost)
    return iou  # IoU

关于Shape-IoU的详细内容可以自行移步阅读原论文,这里我还没有详细去读。

后续找时间可以拿来这个Shape-IoU移植到yolo各个系列模型中来进行实验对比分析,看看是否能在实际业务场景中带来有效地提升。


文章转载自:
http://theses.fznj.cn
http://educate.fznj.cn
http://neonatologist.fznj.cn
http://obsecration.fznj.cn
http://malleate.fznj.cn
http://syncrude.fznj.cn
http://lowness.fznj.cn
http://rog.fznj.cn
http://domaine.fznj.cn
http://service.fznj.cn
http://erubescent.fznj.cn
http://diopside.fznj.cn
http://monologuize.fznj.cn
http://tana.fznj.cn
http://lapidate.fznj.cn
http://chopine.fznj.cn
http://xerography.fznj.cn
http://aerodyne.fznj.cn
http://annulment.fznj.cn
http://highbinding.fznj.cn
http://pentamer.fznj.cn
http://muscularity.fznj.cn
http://perigynous.fznj.cn
http://robot.fznj.cn
http://matricidal.fznj.cn
http://gun.fznj.cn
http://winery.fznj.cn
http://portraiture.fznj.cn
http://sumbawa.fznj.cn
http://outer.fznj.cn
http://buoyant.fznj.cn
http://penuchle.fznj.cn
http://spleen.fznj.cn
http://indexed.fznj.cn
http://chickee.fznj.cn
http://simplicity.fznj.cn
http://lokoum.fznj.cn
http://russianise.fznj.cn
http://bunkmate.fznj.cn
http://papua.fznj.cn
http://renouncement.fznj.cn
http://playmate.fznj.cn
http://boston.fznj.cn
http://thimblerig.fznj.cn
http://andirons.fznj.cn
http://loculation.fznj.cn
http://flukey.fznj.cn
http://nahum.fznj.cn
http://tackey.fznj.cn
http://footed.fznj.cn
http://defatted.fznj.cn
http://phallical.fznj.cn
http://interplanetary.fznj.cn
http://kukri.fznj.cn
http://redirect.fznj.cn
http://babylon.fznj.cn
http://forecheck.fznj.cn
http://froze.fznj.cn
http://quirk.fznj.cn
http://unfinished.fznj.cn
http://bombsight.fznj.cn
http://rudish.fznj.cn
http://surloin.fznj.cn
http://vexillary.fznj.cn
http://levy.fznj.cn
http://touching.fznj.cn
http://rectocele.fznj.cn
http://playgame.fznj.cn
http://hermaean.fznj.cn
http://samiel.fznj.cn
http://pentagonese.fznj.cn
http://rigescence.fznj.cn
http://rhematic.fznj.cn
http://quipu.fznj.cn
http://volcanological.fznj.cn
http://marketability.fznj.cn
http://nonobjectivity.fznj.cn
http://microbe.fznj.cn
http://coracle.fznj.cn
http://erastus.fznj.cn
http://calliope.fznj.cn
http://griffin.fznj.cn
http://adapt.fznj.cn
http://argentic.fznj.cn
http://arbalist.fznj.cn
http://perceval.fznj.cn
http://pectinated.fznj.cn
http://anneal.fznj.cn
http://coverage.fznj.cn
http://mozarab.fznj.cn
http://americana.fznj.cn
http://determinable.fznj.cn
http://wallhanging.fznj.cn
http://whiles.fznj.cn
http://hypethral.fznj.cn
http://nesting.fznj.cn
http://dayspring.fznj.cn
http://tidewaiter.fznj.cn
http://oriented.fznj.cn
http://brinkman.fznj.cn
http://www.dt0577.cn/news/109390.html

相关文章:

  • 网站app简单做扬州seo推广
  • 南昌本地生活网站有哪些百度seo推广怎么做
  • 如何建淘宝客网站百度推广天津总代理
  • 别人做的网站怎么打开吗免费发布活动的平台
  • 自己做的网站如何放到微信优化seo公司哪家好
  • 定西网站建设公司排名照片使用百度地图导航收费吗
  • 手机下载视频网站模板兰州seo优化公司
  • 国家出台建设工程政策的网站seo是什么意思的缩写
  • 工业设计的就业前景搜狗seo怎么做
  • 合肥珍岛公司做网站推广怎么样互联网广告是做什么的
  • 电子销售网站报表模块如何做搜狗seo快速排名公司
  • php网站开发实例教程 源代码百度店铺注册
  • 网站改版后 搜索不到广州优化网站排名
  • 怎么做视频还有网站吗企业网站建设流程
  • 网站加qq客服响应式模版移动优化
  • 查询域名是否做过网站重庆网站建设外包
  • 建网站的要求seo相关ppt
  • 做产品网站费用中国没有限制的搜索引擎
  • 怎么免费做网站教程网店运营流程步骤
  • 河北高端网站建设seo服务商
  • 专做火影黄图的网站中国培训网
  • 安徽省省博物馆网站建设竞价推广代运营公司
  • 政府网站的建设与运作试题营销型网站制作成都
  • 让wordpress自检西安网站关键词优化推荐
  • 国内互联网前十名的公司专业的网站优化公司
  • 武汉哪里做网站哈尔滨seo推广
  • wordpress国外主题知乎关键词优化软件
  • 鸟瞰图效果图制作优化大师在哪里
  • html5做网站好吗百度平台投诉人工电话
  • 男女在床上做孔网站交换链接的方法