dbolya / tide

A General Toolbox for Identifying Object Detection Errors

Home Page:https://dbolya.github.io/tide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"IndexError: list index out of range" when run datasets.COCO()

TommyZihao opened this issue · comments

I have made a bbox detection coco label my hand. label_B.json is this:

image

when run datasets.COCO('label_B.json'), it gets this error:

image

My own custom dataset and class

Hello,
I am also facing the same issue.
Does any one able to solve this error ?

I'm facing the same issue due to an empty segmentation list, for some reason installing Pull/31 hasn't fixed it, even though it shouldn't reach line 90.

ground truth json for custom dataset:
image

code + error:
image

updated functions.py from pull request 31:
image