shlogg · Early preview
Super Kai (Kazuya Ito) @superkai_kazuya

Improving Image Display With COCO API In Python Code

Code displays images with annotations from various datasets using matplotlib & COCO API. Issues: undefined variables, missing imports, unclear data structure. Improve by defining data loading process, consistent imports & documenting data structure.

Buy Me a Coffee☕
*Memos:

My post explains CocoDetection() using train2017 with captions_train2017.json, instances_train2017.json and person_keypoints_train2017.json, val2017 with captions_val2017.json, instances_val2017.json and person_keypoints_val2017.json and test2017 with image_info_test2017.json and image_info_test-dev2017.json.
My post explains CocoDetection() using train2017 with stuff_train2017.json, val2017 with stuff_val2017.json, stuff_train2017_pixelmaps with stuff_train2017.json, stuff_val2017_pixelmaps with stuff_val2017.json, panoptic_train2017 with panoptic_train2017.json, pa...