The output file of Mask R-CNN should be modified to the specific format before compute the AP (PASACAL VOC)
Original output from Mas R-CNN:
-
Groundtruth
{"gt_bbox", "gt_class_id", "image_id"}
-
Prediction Results
{"rois", "class_ids", "scores", "image_id"}
VIA_json_modify.ipynb
output:
[<left> <top> <right> <bottom>, <confidence>, <image id>]
origin from https://zhuanlan.zhihu.com/p/70667071