当前位置:网站首页>Yolov5 analysis | parameters and performance indicators
Yolov5 analysis | parameters and performance indicators
2022-06-13 06:46:00 【Classmate K】
The ginseng
conf_thres:Confidence Threshold, Confidence threshold , That is, the value on the following picture . Only the prediction probability exceeds conf_thres Forecast results of .

iou_thres:Intersect over Union Threshold, Intersection ratio threshold .- IOU value : Prediction box size ∩ True frame size / Prediction box size ∪ True frame size . The value of intersection and union of prediction frame and real frame .
- iou_thres stay detect.py in :
- The bigger it is , It is easy to predict different results for the same item As a Multiple predictions for multiple items , Lead to multiple prediction results for an item .
- The smaller it is , It is easy to predict different results for multiple items As a Different predictions for the same item , As a result, there is only one prediction result for multiple items .
Evaluation parameters
P(Precision), Accuracy , Antitype A Come on ( All of the following are predicted to be A Of ):- P = Correct number / The total number of predictions
- or P = Correct number / Correct number + Wrong number
- namely , What percentage of things predicted are correct .
R(Recall), Recall rate , Antitype A Come on ( All of the following are classified as A Class ):- R = Predict the right number / real A Total number of classes .
- or R = Predict the right number / Predicted A + Unforeseen A
- namely , What percentage of predicted things are found .
F1(F-Measure),F value ,P And R The harmonic average of- F=1/(λ1P+(1−λ)1R),λ = 0.5 when , Simplified as F1
- F1 = 2PR / (P + R)
example : For a dichotomous problem :
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
To classify animals , It is divided into cat and non cat . Sample , The cat has 350 Share , Non cat 150 Share . Predicted 400 Share is considered a cat , among , The right ones 300 Share , The mistakes are 100 Share . be :P = 300 / 400 = 0.75、R = 300 / 350 ≈ 0.86
PR chart: Abscissa is R value , The ordinate is P value , The curve shows that when the recall rate is R when , Accuracy P Size .
example : Suppose the number of pictures in the test set is 100 , And tested a hundred .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- When A Class R Value to 0 when , Means with a certain accuracy P1 Calculation , Not detected A class .
- When A Class R Value to 0.1 when , Means with a certain accuracy P2 Calculation , Detected. A Of the total number of classes 10%.
. . . . . . .And so on , When A Class R Value to 1 when , Means with a certain accuracy P11 Calculation , All... Are detected A Class label . It can be seen that , along with R Increase in value ,A The predicted number will also increase , That is, those with low probability A Classes are gradually predicted . therefore , Can be judged P The value is as follows R To rise and fall .P Value if set to 100, That is, the marked area must belong to A class , This probability is very low , So maybe a A Classes are not recognized , Leading to R The value is 0. And if P Value to 0.1, The marked area is required to have a 10% probability of belonging to A The class can , Then there will be many A Class is marked ,R The value is also further improved . therefore ,PR The larger the area at the bottom left of the figure , It means that the effect of the model on the data set is better .
AP(Average Precision): Calculate in some way AP Value to express PR The area of a graphmAP(mean Average Precision): Of each class AP The average of the values . Used to express the performance of multi class label prediction , Such as AP equally ,mAP The higher the , The better the performance .[email protected]: When IoU by 0.5 At the time of the mAP.[email protected] : .95: When IoU by range(0.5 : 0.95 : 0.05) At the time of the mAP The average of .
边栏推荐
- Jfinal uses freemaker to output map.
- 【sketchup 2021】草图大师中CAD文件的导入与建模(利用cad图纸在草图大师中建立立面模型)、草图大师导出成品为dwg格式的二维、三维、立面效果到cad中打开预览】
- An article allows you to quickly understand the fission growth password of social e-commerce user marketing and avoid stepping on the pit
- 如何使用望友DFM軟件進行冷板分析
- 机器学习笔记 - 监督学习备忘清单
- Kotlin basic objects, classes and interfaces
- Chain 2+1 reward, what kind of mode is beautiful everyday seconds?
- Custom attribute acquisition of view in applet
- DataGridView data export to excel (in case of small amount of data)
- Kotlin collaboration - simple use of collaboration
猜你喜欢

Jinglianwen Technology: current situation and solutions of data acquisition and labeling industry

105. constructing binary trees from preorder and inorder traversal sequences

The web server failed to start Port 7001 was already in use

105. 从前序与中序遍历序列构造二叉树

The innovative public platoon mode team invites users to split, beautiful every second, and links the 2+1 new business model

An article allows you to quickly understand the fission growth password of social e-commerce user marketing and avoid stepping on the pit

Chain 2+1 reward, what kind of mode is beautiful everyday seconds?

‘ipconfig‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。

【sketchup 2021】草图大师的图像输出与渲染之样式说明【边线设置、平面设置、背景设置、水印设置、建模设置、天空背景创建天空、利用水印背景创建天空(重要)】

上位机开发(固件下载软件之详细设计)
随机推荐
想进行快速钢网设计,还能保证钢网质量? 来看这里
Kotlin base generics
Detailed explanation of the player network data reading process of ijkplayer code walkthrough 2
An article allows you to quickly understand the fission growth password of social e-commerce user marketing and avoid stepping on the pit
Interface oriented programming in C language
Kotlin collaboration process +flow download case
【騰訊阿裏最全面試題集錦】(四面:3輪技術+1輪HR)
髋关节MR详细图谱(转载)
Unable to find method 'org gradle. api. artifacts. result. ComponentSelectionReason. getDesc
景联文科技提供一站式智能家居数据采集标注解决方案
Excel data into database
Outil de formatage du temps - mode. JS (affichage en temps réel du temps Web)
Kotlin collaboration - simple use of collaboration
Jinglianwen technology provides a one-stop smart home data acquisition and labeling solution
Comment utiliser le logiciel wangyou DFM pour l'analyse des plaques froides
JS method of extracting numbers from strings
Kotlin collaboration - start and cancel, scope
That is, after the negative impact of gcat advertising e-commerce, is there no stable advertising e-commerce platform?
New Taishan crowdfunding business diversion fission growth model in 2022
【Kernel】驱动编译的两种方式:编译成模块、编译进内核(使用杂项设备驱动模板)