How to batch process multiple json files of labelme? #1139
-
I have a folder which consists of the images as well as their corresponding json files generated via labelme. I want to generate the label.png of all these files with a single command instead of running a command for each individual json file. How do I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Use labelme2voc.py in the examples folders. |
Beta Was this translation helpful? Give feedback.
-
There are many type of json_to_dataset.py to generate all your json files on CSDN. |
Beta Was this translation helpful? Give feedback.
-
what is target parts color? |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
Oh sorry. my English is poor. |
Beta Was this translation helpful? Give feedback.
-
@openXG OK. You can change labelme/examples/semantic_segmentation/labelme2voc.py Lines 84 to 85 in caa54a7 |
Beta Was this translation helpful? Give feedback.
-
be deep grateful! |
Beta Was this translation helpful? Give feedback.
Use labelme2voc.py in the examples folders.