tusimple-benchmark icon indicating copy to clipboard operation
tusimple-benchmark copied to clipboard

How to generate json files from my own data set

Open CSLby7 opened this issue 6 years ago • 12 comments

I have tried to use some annotation software to mark the lane and export the JSON file, but its format is different from Tusimple's. Could you tell me what annotation software you use?

CSLby7 avatar Feb 19 '19 08:02 CSLby7

Hi @CSLby7 how did you solve your problem?

LukasProgram avatar Mar 18 '19 19:03 LukasProgram

Hi, I have solved the problem. If you want to generate files from your dataset, you can use VIA to annotate those photos and export those as json files.Finally, you need to write a script to transform formats of those json files to the format that you need.

在 2019年3月19日,上午3:10,Lukas Figo [email protected] 写道:

Hi @CSLby7 https://github.com/CSLby7 how did you solve your problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TuSimple/tusimple-benchmark/issues/7#issuecomment-474060151, or mute the thread https://github.com/notifications/unsubscribe-auth/AgFrV-SRF-N5JEOYgZXc3d8J08Edbpuyks5vX-SJgaJpZM4bCY91.

CSLby7 avatar Mar 23 '19 04:03 CSLby7

Hi @CSLby7 , you mentioned that you use VIA to annotate those photos and export those as json files.Finally, you need to write a script to transform formats of those json files to the format that you need. but it is hard for me. In VIA, how do you set the Y-axis equally spaced coordinate values? In addition, how is the .json conversion implemented? Thank you very much.

qweqqvv avatar May 09 '19 04:05 qweqqvv

Hi @qweqqvv!! Any updates on how to set the Y-axis equally spaced co-ordinate values?

nikhilbv avatar Jul 18 '19 05:07 nikhilbv

Hi @CSLby7 , you mentioned that you use VIA to annotate those photos and export those as json files.Finally, you need to write a script to transform formats of those json files to the format that you need. but it is hard for me. In VIA, how do you set the Y-axis equally spaced coordinate values? In addition, how is the .json conversion implemented? Thank you very much.

Unfortunately, VIA doesn't offer any tools to annotate pictures isometrically. You have to draw lines in advance by using OpenCV. File conversion just depends on basic python grammar(including file reading/writing and dictionary).

CSLby7 avatar Jul 18 '19 08:07 CSLby7

Hi @CSLby7, Can you please elaborate more? How to set the Y-axis equally spaced coordinate values and annotate the lanes?

nikhilbv avatar Jul 29 '19 07:07 nikhilbv

what is the VIA

zhangjy2008327 avatar Aug 21 '19 12:08 zhangjy2008327

Hi @CSLby7 , you mentioned that you use VIA to annotate those photos and export those as json files.Finally, you need to write a script to transform formats of those json files to the format that you need. but it is hard for me. In VIA, how do you set the Y-axis equally spaced coordinate values? In addition, how is the .json conversion implemented? Thank you very much.

@qweqqvv @nikhilbv hi,have you solved the problems? Can you give me a detailed guide. thank you

shijia-web avatar Mar 18 '20 05:03 shijia-web

Hello :) I have my own dataset and I have labelled them using VIA and generated the json file from it. The thing that I'm stuck in , is how to make the format of my json file (exported form VIA) have the same shape of the TuSimple json files? Thanks

darkdevahm avatar May 15 '20 23:05 darkdevahm

you can write a script to transform the format. 发自我的华为手机-------- 原始邮件 --------发件人: Ahmed Nasr Ahmed [email protected]日期: 2020年5月16日周六 早上7:01收件人: TuSimple/tusimple-benchmark [email protected]抄送: shijia-web [email protected], Comment [email protected]主 题: Re: [TuSimple/tusimple-benchmark] How to generate json files from my own data set (#7) Hello :) I have my own dataset and I have labelled them using VIA and generated the json file from it. The thing that I'm stuck in , is how to make the format of my json file (exported form VIA) have the same shape of the TuSimple json files? Thanks

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

shijia-web avatar May 17 '20 05:05 shijia-web

you can write a script to transform the format. 发自我的华为手机-------- 原始邮件 --------发件人: Ahmed Nasr Ahmed [email protected]日期: 2020年5月16日周六 早上7:01收件人: TuSimple/tusimple-benchmark [email protected]抄送: shijia-web [email protected], Comment [email protected]主 题: Re: [TuSimple/tusimple-benchmark] How to generate json files from my own data set (#7) Hello :) I have my own dataset and I have labelled them using VIA and generated the json file from it. The thing that I'm stuck in , is how to make the format of my json file (exported form VIA) have the same shape of the TuSimple json files? Thanks —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

Can you share it, build an open source environment

foxkw avatar Dec 23 '20 08:12 foxkw

Hi guys, I have some lane instance segmentation image dataset, but how to transform it into TuSimple json format. Lane instance has been annotated using polygon coordinates.

Takugo avatar Oct 26 '21 07:10 Takugo