当前位置:网站首页>Understand the first prediction stage of yolov1
Understand the first prediction stage of yolov1
2022-07-03 05:49:00 【code bean】
First of all to see YOLOV1 Network structure , Feeling is ordinary convolutional neural network :
The final output is a 7*7*30 The black box of , Think of it as a book 7*7 The size has 30 Page of a book .

Every page of the book , from 49 A square (grid cell) form , V1 Each in the version grid cell forecast 2 Boxes (bounding box,bounding box The center of lies in this gridcell) So we can generate 98 individual bounding box.
Every bounding box, contain 5 Parameters :
1 x,y bounding box The location of the center point of
2 h,w bounding box The width and height of
3 c Whether to include the confidence of the target object ( This confidence , It should be cross comparison )
The perspective is switching back grid cell,grid cell It also includes the probability of each category , use grid cell The category probability of , multiply grid cell Self generated bounding box The degree of confidence , Get this bounding box Probability corresponding to each category .
In this case , Filter out those with low probability , The frame containing location information and category information can be drawn .
Look at the black box again :

that , We just looked at the left view of the black box , That just mentioned every grid cell Also includes A lot of information . Then the front view of this picture will be clearer ( And each or 49 individual grid cell Are all made of depth , This depth is 30).
here , Let's focus on , Actually, one. grid cell And the depth information it contains :

As mentioned before , Every grid cell Predictable 2 Boxes (bounding box), Purple and green are these two bounding box part , Every bounding box contain 5 Parameters , Yes, it's the one mentioned above 5 Parameters . Last 20 Dimensions store the grid cell Corresponding 20 Category probability . Seeing here, we probably know .V1 Version a picture can generate at most 98 Boxes , At most 20 Species category .
Summary
For better understanding , Here are a few points :
- grid cell and bounding box There is a corresponding relationship : Every grid cell Corresponding to the two bounding box
- bounding box Include the confidence level of whether the object is included ( Here we need to further confirm the confidence of what it is )
- grid cell Include the probability of each category .
- Two bounding box Each has a confidence , If the figure below shows :

The red box represents grid cell, Two black frames represent grid cell Two generated bounding boxes, The thicker the line, the higher the confidence . Two bounding box Share the grid cell Probability of category . Multiply probability and confidence , Will get this category to judge Total probability .
Look at this dynamic diagram , Should be able to better understand :

Continue analysis : If each grid Apply your own color to the maximum probability of the middle category , Then you may get the following effects :

Here is another conclusion ,V1 At most versions are predicted 20 Species , And at most, you can box out 49 An object .
Reference material
【 intensive reading AI The paper 】YOLO V1 object detection , Just look at me _ Bili, Bili _bilibili
边栏推荐
- 2022.DAY592
- How does win7 solve the problem that telnet is not an internal or external command
- kubernetes资源对象介绍及常用命令(五)-(ConfigMap)
- Jetson AGX Orin 平台移植ar0233-gw5200-max9295相机驱动
- Detailed explanation of iptables (1): iptables concept
- Redis cannot connect remotely.
- AtCoder Beginner Contest 258(A-D)
- Niuke JS separator
- Altaro requirements for starting from backup on Hyper-V
- 牛客网 JS 分隔符
猜你喜欢

@Solutions to null pointer error caused by Autowired

MySQL 5.7.32-winx64 installation tutorial (support installing multiple MySQL services on one host)
![[set theory] relational closure (relational closure related theorem)](/img/6a/b6dca7abf592f8d8ab1d6aecc43381.jpg)
[set theory] relational closure (relational closure related theorem)

How do I migrate my altaro VM backup configuration to another machine?

Qt读写Excel--QXlsx插入图表5

"C and pointer" - Chapter 13 advanced pointer int * (* (* (*f) () [6]) ()

【一起上水硕系列】Day 7 内容+Day8

kubernetes资源对象介绍及常用命令(五)-(ConfigMap)

Communication - how to be a good listener?

今天很多 CTO 都是被幹掉的,因為他沒有成就業務
随机推荐
@Solutions to null pointer error caused by Autowired
How to install and configure altaro VM backup for VMware vSphere
Strategy pattern: encapsulate changes and respond flexibly to changes in requirements
The server data is all gone! Thinking caused by a RAID5 crash
Final review (Day5)
[function explanation (Part 1)] | | knowledge sorting + code analysis + graphic interpretation
Troubleshooting of 32GB Jetson Orin SOM failure to brush
[teacher Zhao Yuqiang] calculate aggregation using MapReduce in mongodb
今天很多 CTO 都是被幹掉的,因為他沒有成就業務
6.23 warehouse operation on Thursday
PHP笔记超详细!!!
Source insight automatic installation and licensing
If function of MySQL
Simpleitk learning notes
Source insight operation manual installation trial
2022.7.2day594
[teacher Zhao Yuqiang] kubernetes' probe
Method of finding prime number
Final review (day3)
期末复习(DAY6)