如何将Yolo注释转换为可可格式。 json?
我想以yolo格式将标签转换为可可格式 我尝试过 https://github.com/github.com/taeyoung96/yolo-to-coco-format-to-coco-format--coco-format--coco-format--转换器 和 Pylabel 他们都有一个错误。
我想在检测2上训练,但是由于错误的JSON文件,它无法加载数据集。
I want to convert my labels in yolo format to coco format
I have tried
https://github.com/Taeyoung96/Yolo-to-COCO-format-converter
And
Pylabel
They all have a bugs.
I want to train on detectron 2 but it fails to load the dataset because of the wrong json file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 globox 包(免责声明:我是作者)。这应该类似于:
如果您需要使用
.name
文件映射标签:您可以查看其他格式的文档(Yolo Darknet、Yolo v8 等)。
You can use the globox package (disclaimer: I'm the author). This should ressemble something like:
If you need to map the labels using a
.name
file:you can check the documentation for other formats (Yolo Darknet, Yolo v8, etc.).