dbolya / tide

A General Toolbox for Identifying Object Detection Errors
https://dbolya.github.io/tide
MIT License
706 stars 115 forks source link

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

Open TommyZihao opened 3 years ago

TommyZihao commented 3 years ago

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

TommyZihao commented 3 years ago

My own custom dataset and class

Rvv1296 commented 2 years ago

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

Jamessmith9956 commented 2 years ago

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