Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if 'caption' in anns[0]: IndexError: list index out of range #21

Closed
vanessasidrim opened this issue Jun 24, 2020 · 2 comments
Closed

if 'caption' in anns[0]: IndexError: list index out of range #21

vanessasidrim opened this issue Jun 24, 2020 · 2 comments

Comments

@vanessasidrim
Copy link

In step 5 (model evaluation) when calling the function evaluete_prediction_coco( ), I get an error. Within this function, a value is assigned to a coco_dt variable by returning the call coco_get.loadRes(coco_result), but at this moment the error if 'caption' in anns [0] is displayed: IndexError: list index out of range

@yukang2017
Copy link
Collaborator

This is a about the version of maskrcnn-benchmark and pytorch. Please refer to #1182 in maskrcnn-benchmark.

@BaoChunxiao
Copy link

This is because coco_results[iou_type] is an empty list, means model don't inference any BBOX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants