对YOLO训练输出参数的理解

匿名 (未验证) 提交于 2019-12-03 00:19:01

I was recently asked what the different parameters mean you see logged to your terminal while training and how we should interpret these. An interesting question I will try to explain here.

.cfg

Next, a screenshot of the terminal output I am currently seeing:

batchsubdivisions.cfgbatch = 64subdivision = 8. Looking at the image above, the training iteration has 8 groups of 8 images, reflecting these specific settings.

Batch output

detector.cthis line of code.

  • 9798

  • 0.370096

  • 0.451929 avg0.060730 avg, you can stop training.

  • 0.001000 rate.cfg

  • 3.300000 seconds

  • 627072 images9778 * 64, the total amount of images used during training so far.

Subdivision output

IOUJaccard index) to understand why this is an important parameter to log.

As you can see, IOU is a great metric to determine how accurately our model detected a certain object. At 100% we have a perfect detection: a perfect overlap of our bounding box and the target. It's clear that we want to optimize this parameter.

batchthis line of code

  • Region Avg IOU: 0.326577subdivision. A 32,66% overlap in this case, this model still requires further training.

  • Class: 0.742537still figuring this out

  • Obj: 0.033966still figuring this out

  • No Obj: 0.000793still figuring this out

  • Avg Recall: 0.12500recall/countpositivessubdivision. In this case only one of the eight positives was correctly detected.

  • count: 8positives867

Conclusion

In this short article, we've reviewed the different output parameters YOLOv2 uses to tell us how training is advancing. This is by no means an 'end-all' description, but should hopefully clear up most of the questions you may have when reviewing the training output.

As always, I will gladly accept comments or questions in the comment section to further improve or correct this article. Feel free to comment!

大神原文在这里

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!