Skip to content

Convert the Labelme format json files to COCO format json file

Notifications You must be signed in to change notification settings

minan19605/Labelme_to_coco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Labelme_to_coco

Convert the Labelme format json files to COCO format json file

I am using Facebook Detectron to train my data set. I got the labeled data with the 'lableme' format. I use those code to convert those labelme format json files into the one json file which follow the COCO data set.

The usage is like below:

load the train data set and then convert and write the coco json file

labelme_json=glob.glob(r'D:\train_data\json*.json') labelme2coco(labelme_json,'./coco_train.json')

About

Convert the Labelme format json files to COCO format json file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages