Closed xvjiarui closed 4 years ago
This PR removed self.img_ann_map and self.cat_img_map from self.createIndex(). So that when a class inherits from COCO, user only needs to take care of self.catToImgs and self.imgToAnns.
self.img_ann_map
self.cat_img_map
self.createIndex()
COCO
self.catToImgs
self.imgToAnns
@OceanPang
@xvjiarui Can we merge the PR and release a new version of mmpycocotools?
@OceanPang Done.
This PR removed
self.img_ann_map
andself.cat_img_map
fromself.createIndex()
. So that when a class inherits fromCOCO
, user only needs to take care ofself.catToImgs
andself.imgToAnns
.