TuSimple / tusimple-benchmark

Download Datasets and Ground Truths: https://github.com/TuSimple/tusimple-benchmark/issues/3
Apache License 2.0
566 stars 180 forks source link

How to generate json files from my own data set #7

Open CSLby7 opened 5 years ago

CSLby7 commented 5 years ago

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?

LukasProgram commented 5 years ago

Hi @CSLby7 how did you solve your problem?

CSLby7 commented 5 years ago

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 notifications@github.com 写道:

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.

qweqqvv commented 5 years ago

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.

nikhilbv commented 5 years ago

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

CSLby7 commented 5 years ago

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).

nikhilbv commented 5 years ago

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

zhangjy2008327 commented 5 years ago

what is the VIA

shijia-web commented 4 years ago

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

darkdevahm commented 4 years ago

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

shijia-web commented 4 years ago

you can write a script to transform the format. 发自我的华为手机-------- 原始邮件 --------发件人: Ahmed Nasr Ahmed notifications@github.com日期: 2020年5月16日周六 早上7:01收件人: TuSimple/tusimple-benchmark tusimple-benchmark@noreply.github.com抄送: shijia-web shijia5229350@163.com, Comment comment@noreply.github.com主 题: 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.

foxkw commented 3 years ago

you can write a script to transform the format. 发自我的华为手机-------- 原始邮件 --------发件人: Ahmed Nasr Ahmed notifications@github.com日期: 2020年5月16日周六 早上7:01收件人: TuSimple/tusimple-benchmark tusimple-benchmark@noreply.github.com抄送: shijia-web shijia5229350@163.com, Comment comment@noreply.github.com主 题: 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

Takugo commented 2 years ago

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.