百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Y

yolo-v1

> 编程语言
开源

由Joseph Redmon, Santoh Divvala, Ross Girshick, Ali Fa在"You Only Look Once: United, Real-Time Objects Redmon"中介绍的YOLOv1 PyTorch执行

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

由Joseph Redmon, Santoh Divvala, Ross Girshick, Ali Fa在"You Only Look Once: United, Real-Time Objects Redmon"中介绍的YOLOv1 PyTorch执行

YOLOv1

PyTorch implementation of the YOLO architecture presented in "You Only Look Once: Unified, Real-Time Object Detection" by Joseph Redmon, Santosh Divvala, Ross Girshick, Ali Farhadi

Methods

For the sake of convenience, PyTorch's pretrained ResNet50 architecture was used as the backbone for the model instead of Darknet. However, the detection layers at the end of the model exactly follow those described in the paper. The data was augmented by randomly scaling dimensions, shifting position, and adjusting hue/saturation values by up to 20% of their original values.

Results

Overall, the bounding boxes look convincing, though it is interesting to note that YOLOv1 has trouble detecting tightly grouped objects as well as small, distant ones. Additionally, the fully vectorized SumSquaredLoss function achieves roughly a 4x speedup in training time compared to using a for-loop to determine bounding box responsibility.

Notes

Intersection Over Union (IOU)

Area of intersection between ground truth and predicted bounding box, divided by the area of their union. The confidence score for each square in the grid is Pr(object in square) * IOU(truth, pred). If the IOU is greater than some threshold t, then the prediction is a True Positive (TP), otherwise the prediction is a False Positive (FP).

Here's a great visual from [2]:

Precision

Measures how much you can trust a Positive prediction from the model. Out of all positive predictions, calculates what proportion are correctly identified.

Recall

Measures how well the model does in finding all the positives. TP gives the number of correct finds, and FN gives the number of objects that were present but missed by the model. Together, TP + FN equals the total number of labeled objects.

References

[1] Joseph Redmon, Santosh Divvala, Ross Girshick, Ali Farhadi. You Only Look Once: Unified, Real-Time Object Detection. arXiv:1506.02640v5 [cs.CV] 9 May 2016

[2] Towards Datascience. mAP (mean Average Precision) might confuse you!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythoncomputer-visionnon-maximum-suppressionobject-detectionpytorch

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言