DexiNed icon indicating copy to clipboard operation
DexiNed copied to clipboard

How to label our own dataset and train?

Open BlueBlueSkyZZ opened this issue 2 years ago • 5 comments

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?

BlueBlueSkyZZ avatar Sep 09 '21 12:09 BlueBlueSkyZZ

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

xavysp avatar Sep 09 '21 14:09 xavysp

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.

BlueBlueSkyZZ avatar Sep 10 '21 04:09 BlueBlueSkyZZ

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

adnan0819 avatar Jul 08 '22 17:07 adnan0819

@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?

xavysp avatar Nov 06 '22 17:11 xavysp

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.

ziyouzheilu avatar Dec 05 '23 05:12 ziyouzheilu