当前位置:网站首页>Understand yolov1 Part II non maximum suppression (NMS) in prediction stage
Understand yolov1 Part II non maximum suppression (NMS) in prediction stage
2022-07-06 19:36:00 【code bean】
introduction
1 Prediction stage , After the model has been trained , Start the prediction stage
2 NMS Non maximum suppression , My understanding of the role in this is , When the category is the same , Any box can be selected
More than one instance .
Occurring simultaneously than (iou)

Then cross and compare is :

Non maximum suppression (NMS)
In the last article 《 understand YOLOV1 Chapter one Prediction stage _code bean The blog of -CSDN Blog 》 We predicted 98 Candidate box , So what we need to do now is to screen out the most accurate ones .
NMS The first 1 round

First of all, we will introduce one of them ( Like dogs ) The candidate boxes of are sorted in descending order by full probability , Then compare all candidate boxes with the first one , If the intersection union ratio of candidate boxes is greater than a certain threshold , Just clear the probability corresponding to this candidate box ( It is equivalent to excluding the candidate box , Because the intersection ratio is too large, it means that it is a repeated choice , The probability is smaller than the maximum , So you can kill )
As shown in the figure above , The intersection ratio of yellow box and green box is greater than 0.5 result , The green frame was killed .
NMS The first 2 round

After the first round , Those who cross the first box and are too big have been killed , So we started the second round , At this time of the second round Start with the candidate box with the second largest probability , That is, the blue frame in the figure , At this time, the red frame behind the blue frame is too large , So the red frame was killed .
There may be a third N round , And then to the end .
But so far , The yellow and blue boxes are the selection boxes that are ultimately retained .
NMS Non maximum suppression , My understanding of the role in this is , When the category is the same , Any box can be selected
More than one instance .
Reference resources :
Tongji Zihao brother's personal space _ Bili, Bili _bilibili
边栏推荐
- 思维导图+源代码+笔记+项目,字节跳动+京东+360+网易面试题整理
- Solution of commercial supply chain management platform for packaging industry: layout smart supply system and digitally integrate the supply chain of packaging industry
- The list of people who passed the fifth phase of personal ability certification assessment was published
- Reflection and illegalaccessexception exception during application
- [translation] linkerd's adoption rate in Europe and North America exceeded istio, with an increase of 118% in 2021.
- 学习探索-无缝轮播图
- C # - realize serialization with Marshall class
- Spark foundation -scala
- Unbalance balance (dynamic programming, DP)
- 【基础架构】Flink/Flink-CDC的部署和配置(MySQL / ES)
猜你喜欢

面试突击63:MySQL 中如何去重?

安装Mysql报错:Could not create or access the registry key needed for the...

Interface test tool - postman

Characteristic colleges and universities, jointly build Netease Industrial College

Druid 数据库连接池 详解

PMP practice once a day | don't get lost in the exam -7.6

LeetCode_双指针_中等_61. 旋转链表

CPU负载很低,loadavg很高处理方法

在解决了 2961 个用户反馈后,我做出了这样的改变...

C language daily practice - day 22: Zero foundation learning dynamic planning
随机推荐
【翻译】数字内幕。KubeCon + CloudNativeCon在2022年欧洲的选择过程
short i =1; I=i+1 and short i=1; Difference of i+=1
终于可以一行代码也不用改了!ShardingSphere 原生驱动问世
zabbix 代理服务器 与 zabbix-snmp 监控
Dark horse -- redis
How to type multiple spaces when editing CSDN articles
测试用里hi
Documents to be used in IC design process
Zero foundation entry polardb-x: build a highly available system and link the big data screen
LeetCode-1279. Traffic light intersection
全套教学资料,阿里快手拼多多等7家大厂Android面试真题
Learn to explore - use pseudo elements to clear the high collapse caused by floating elements
黑马--Redis篇
MySQL information schema learning (II) -- InnoDB table
Simple application of VBA script in Excel
利用 clip-path 绘制不规则的图形
Php+redis realizes the function of canceling orders over time
Spark foundation -scala
理解 YOLOV1 第二篇 预测阶段 非极大值抑制(NMS)
蓝桥杯 微生物增殖 C语言