bubbliiiing / yolox-pytorch

这是一个yolox-pytorch的源码,可以用于训练自己的模型。
Apache License 2.0
888 stars 185 forks source link

json转voc #93

Open LXX230 opened 2 years ago

LXX230 commented 2 years ago

哥,这个json文件怎么转voc啊,找个半天都没找到[哭笑][哭笑][哭笑] { "labels": [ { "name": "mature", "x1": 172,
"y1": 103, "x2": 405, "y2": 400, "size": { "height": 426, "width": 659 } }, { "name": "mature", "x1": 5, "y1": 5, "x2": 152, "y2": 250, "size": { "height": 426, "width": 659 } }, { "name": "mature", "x1": 383, "y1": 44, "x2": 602, "y2": 313, "size": { "height": 426, "width": 659 } }, { "name": "mature", "x1": 120, "y1": 0, "x2": 253, "y2": 56, "size": { "height": 426, "width": 659 } } ] }

有很多json文件,求求一个批量转voc的代码,谢谢了哥😀

bubbliiiing commented 2 years ago

这是coco?

LXX230 commented 2 years ago

对的,我把一个json文件打开后就是这样的,哥

LXX230 commented 2 years ago

应该不是coco,应该是一般的json文件

LXX230 commented 2 years ago

哥,我上传了一个附件,您看看

------------------ 原始邮件 ------------------ 发件人: "bubbliiiing/yolox-pytorch" @.>; 发送时间: 2022年7月8日(星期五) 晚上10:49 @.>; @.**@.>; 主题: Re: [bubbliiiing/yolox-pytorch] json转voc (Issue #93)

这是coco?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

bubbliiiing commented 2 years ago

这个我没有办法帮你,需要你自己了解如何读取json文件,整体难度确实不大,希望你可以做一下。

LXX230 commented 2 years ago

哥,你要是把这种简单的读取文件的代码给我现成的了😂,我今天也不会有机会磨练一下我自己,然后做出来了😎😎😎, 哈哈哈哈哈哈哈啊哈哈哈😎😎😎😎

bubbliiiing commented 2 years ago

解决了?是不是很简单

LXX230 commented 2 years ago

昂🌚

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: Bubbliiiing @.> 发送时间: 2022年7月9日 23:09 收件人: bubbliiiing/yolox-pytorch @.> 抄送: LXX230 @.>, State change @.> 主题: Re: [bubbliiiing/yolox-pytorch] json转voc (Issue #93)

解决了?是不是很简单

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>