Parsing-R-CNN icon indicating copy to clipboard operation
Parsing-R-CNN copied to clipboard

How to get the COCO style json file for MHP or CHIP dataset?

Open zyf12389 opened this issue 5 years ago • 6 comments

annotations style in COCO must be binary. So, what is your json file generated by, is it based on the whole person or the body part? Thanks.

zyf12389 avatar Oct 30 '19 03:10 zyf12389

the same question~~~~thanks

jiawenhao2015 avatar Nov 20 '20 10:11 jiawenhao2015

annotations style in COCO must be binary. So, what is your json file generated by, is it based on the whole person or the body part? Thanks.

hello~~~do you find the way get the json anno file after 1 year?......many thanks.~~~~~

jiawenhao2015 avatar Nov 20 '20 10:11 jiawenhao2015

I just added the path of the annotation to the json file in coco format.(e.g. annotation_info = { "id": annotation_id, "image_id": image_id, "bbox": bounding_box.tolist(), "parsing_file": annotation_filename, ...... })

zyf12389 avatar Nov 20 '20 10:11 zyf12389

I just added the path of the annotation to the json file in coco format.(e.g. annotation_info = { "id": annotation_id, "image_id": image_id, "bbox": bounding_box.tolist(), "parsing_file": annotation_filename, ...... })

many many thanks for your reply~~~~ so you mean, the json file actually contains no label info, but the really label img's path? do you change the dataset.py code? or use some other tools convert the MHP or CHIP label to coco style?

jiawenhao2015 avatar Nov 20 '20 11:11 jiawenhao2015

Yes, the json file actually contains label annotation's path and used pycococreator.

zyf12389 avatar Nov 20 '20 11:11 zyf12389

Yes, the json file actually contains label annotation's path and used pycococreator.

ok ~~~~~~thanks a lot~~~~~~~~~~~i will try ~~~

jiawenhao2015 avatar Nov 20 '20 12:11 jiawenhao2015