You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many datasets have bounding boxes and no segmentation. It seems reasonable to support such datasets in a COCO-style format. The current logic in (Python) showAnns requires 'segmentation' to be present to display bounding boxes. Changing the following line to include or 'bbox' in anns[0] would enable showing datasets with bbox but not segmentation annotations;
Many datasets have bounding boxes and no segmentation. It seems reasonable to support such datasets in a COCO-style format. The current logic in (Python) showAnns requires
'segmentation'
to be present to display bounding boxes. Changing the following line to includeor 'bbox' in anns[0]
would enable showing datasets with bbox but not segmentation annotations;cocoapi/PythonAPI/pycocotools/coco.py
Line 241 in 8c9bcc3
The text was updated successfully, but these errors were encountered: