Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to label our own dataset and train? #93

Open
BlueBlueSkyZZ opened this issue Sep 9, 2021 · 5 comments
Open

How to label our own dataset and train? #93

BlueBlueSkyZZ opened this issue Sep 9, 2021 · 5 comments

Comments

@BlueBlueSkyZZ
Copy link

BlueBlueSkyZZ commented Sep 9, 2021

How to create a dataset similar to BIPED?
I labeled my own dataset by labelme.
labelme_json_to_dataset can let my .json file generate a .png file. But the edge line is too wide and the color is red.
Should I use another label tool? Or is there a method to set the edge line?

@xavysp
Copy link
Owner

xavysp commented Sep 9, 2021

Hi, the json file generated in Labelme its easy to convert in PNG, if you want I can share my code, but I have to clean a little bite

@BlueBlueSkyZZ
Copy link
Author

Thanks for your reply @xavysp. I wonder if the red edge will have a bad effect on the training result, so I want to make the edge line slim and white just like BIPED.
Do you mean I should write some code to convert the json file to PNG file instead of using the command tool labelme_json_to_dataset? I don't find the solution to custom the generation of the edges in the command tool labelme_json_to_dataset.
I would be grateful if you could share your code.

@adnan0819
Copy link

adnan0819 commented Jul 8, 2022

@xavysp xavysp Hi, sorry to dig this up again. I am also looking to do the same as above i.e.,

  1. Label using LabelMe
  2. Use labelme_json_to_dataset
  3. Now trying to figure out how to make them like BIPED.

Could you please share your code for point 3?

Thank you very much.

@xavysp
Copy link
Owner

xavysp commented Nov 6, 2022

@xavysp xavysp Hi, sorry to dig this up again. I am also looking to do the same as above i.e.,

  1. Label using LabelMe
  2. Use labelme_json_to_dataset
  3. Now trying to figure out how to make them like BIPED.

Could you please share your code for point 3?

Thank you very much.

HI, did you got your GT edge map?

@ziyouzheilu
Copy link

Hi, the json file generated in Labelme its easy to convert in PNG, if you want I can share my code, but I have to clean a little bite

I want to do the same thing.Can you share me your code.Thank you very much if you can do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants