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

Fixing Data Access Issues In Show_images2() And Show_images1()

pms_stf_train2017_data` & `pms_stf_val2017_data` undefined in code. Load COCO data with `pycocotools` library, assign to variables before accessing. Example: `coco = COCO('path_to_your_dataset/instances_train2017.json')

Buy Me a Coffee☕
*Memos:

My post explains CocoDetection() using train2014 with captions_train2014.json, instances_train2014.json and person_keypoints_train2014.json, val2014 with captions_val2014.json, instances_val2014.json and person_keypoints_val2014.json and test2017 with image_info_test2014.json, image_info_test2015.json and image_info_test-dev2015.json.
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 an...