cocodataset / panopticapi

COCO 2018 Panoptic Segmentation Task API (Beta version)
Other
418 stars 184 forks source link

Questions about evaluation.py #61

Open shiyue-code opened 3 months ago

shiyue-code commented 3 months ago

I am very confused by this line of code. union = pred_segms[pred_label]['area'] + gt_segms[gt_label]['area'] - intersection - gt_pred_map.get((VOID, pred_label), 0) Why subtract the GT background prediction errors?