yolov5改变anchor
时间: 2023-09-12 13:08:28 浏览: 108
yolov5改变了anchor的生成方式。在yolov5中,anchor的生成是通过使用k-means算法根据数据集中目标主要分布的长宽尺度聚类出来的一组anchor。具体来说,通过对数据集中目标的边界框进行聚类,生成一组尺度和长宽比不同的anchor。聚类生成的anchor用于预测目标的位置和大小。相比于之前的yolov1到yolov4,yolov5的anchor生成方式更加自适应和有效。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [yolov2 /yolov3计算anchor](https://blog.csdn.net/juluwangriyue/article/details/108768955)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Anchor机制小结:Yolov1~Yolov5](https://blog.csdn.net/chairon/article/details/124216960)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文