create tfrecord from labelme json file create tfrecord from labelme json file json json

create tfrecord from labelme json file


From the looks of JSON file i believe you are doing instance segmentation.You could use scripts provided in the labelme examples directory.

Instance Segmentation folder has two scripts labelme2coco.py and labelme2voc.py

So you can convert labelme JSONs to COCO format or VOC format and use them to build TFRecords

tensorflow models repo has a bunch of scripts to help you do this