当前位置:网站首页>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
边栏推荐
- [set theory] relational closure (reflexive closure | symmetric closure | transitive closure)
- chromedriver对应版本下载
- 2022.6.30DAY591
- Latest version of source insight
- Life is a process of continuous learning
- [teacher Zhao Yuqiang] MySQL high availability architecture: MHA
- Apache+PHP+MySQL环境搭建超详细!!!
- pytorch 搭建神经网络最简版
- [teacher Zhao Yuqiang] Flink's dataset operator
- 2022.7.2day594
猜你喜欢
![[teacher Zhao Yuqiang] calculate aggregation using MapReduce in mongodb](/img/cc/5509b62756dddc6e5d4facbc6a7c5f.jpg)
[teacher Zhao Yuqiang] calculate aggregation using MapReduce in mongodb

今天很多 CTO 都是被干掉的,因为他没有成就业务

Redhat7系统root用户密码破解

Altaro o365 total backup subscription plan

How do I migrate my altaro VM backup configuration to another machine?
![[teacher Zhao Yuqiang] index in mongodb (Part 2)](/img/a7/2140744ebad9f1dc0a609254cc618e.jpg)
[teacher Zhao Yuqiang] index in mongodb (Part 2)

@Solutions to null pointer error caused by Autowired

Mapbox tasting value cloud animation

QT read write excel -- qxlsx insert chart 5
![[Shangshui Shuo series together] day 10](/img/a3/e8b9df588bef67ead925813a75c8c0.png)
[Shangshui Shuo series together] day 10
随机推荐
理解 YOLOV1 第一篇 预测阶段
Jetson AgX Orin platform porting ar0233 gw5200 max9295 camera driver
Notepad++ wrap by specified character
Ext4 vs XFS -- which file system should you use
Solve the 1251 client does not support authentication protocol error of Navicat for MySQL connection MySQL 8.0.11
How do I migrate my altaro VM backup configuration to another machine?
最大似然估计,散度,交叉熵
Download the corresponding version of chromedriver
Altaro requirements for starting from backup on Hyper-V
6.23 warehouse operation on Thursday
pytorch 多分类中的损失函数
[teacher Zhao Yuqiang] use the catalog database of Oracle
Error 1045 (28000) occurs when Linux logs in MySQL: access denied for user 'root' @ 'localhost' (using password: yes)
Capacity expansion mechanism of map
Today, many CTOs were killed because they didn't achieve business
@Solutions to null pointer error caused by Autowired
The server data is all gone! Thinking caused by a RAID5 crash
Qt读写Excel--QXlsx插入图表5
[advanced pointer (2)] | [function pointer, function pointer array, callback function] key analysis + code explanation
今天很多 CTO 都是被干掉的,因为他没有成就业务