RapidAI / LabelConvert

🔄 A tool for object detection and image segmentation dataset format conversion.
https://rapidai.github.io/LabelConvert/docs
Apache License 2.0
292 stars 67 forks source link

add scipt translate yolov5 yaml cofig file to coco #4

Closed goderent closed 2 years ago

SWHL commented 2 years ago
goderent commented 2 years ago

可以,尽管修改

SWHL commented 2 years ago

Hello, 下面两种写法,我好奇为什么采用了第一种,而不是第二个呢? https://github.com/RapidAI/YOLO2COCO/blob/b76329f410c9c5e215cb410fa84ce1bbb6513eb2/yolov5_cfgfile_2_coco.py#L117-L118

goderent commented 2 years ago

这部分借鉴了yolov5官方仓库的代码。理论上没有区别,但我害怕有我没有想到的特例,就保持官方仓库的方式没动。

SWHL commented 2 years ago