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
, where my detector did not detect any box-annotations, so json_pr_path only has an empty array [].
This leads to an error in coco.loadRes:
pycocotools/coco.py", line 335, in loadRes if 'caption' in anns[0]: ~~~~^^^ IndexError: list index out of range
Is there a way to use these functions and evaluate with zero predicted/detected boxes?
The text was updated successfully, but these errors were encountered:
tomikoskinen
changed the title
Is there a way to use PythonAPI loadRes and COCOeval with empty annotations?
Is there a way to use PythonAPI loadRes and COCOeval with empty detections?
Sep 23, 2024
I am trying to run a simple evaluation:
, where my detector did not detect any box-annotations, so json_pr_path only has an empty array [].
This leads to an error in coco.loadRes:
pycocotools/coco.py", line 335, in loadRes if 'caption' in anns[0]: ~~~~^^^ IndexError: list index out of range
Is there a way to use these functions and evaluate with zero predicted/detected boxes?
The text was updated successfully, but these errors were encountered: