Skip to content

KeyError at 317, eval.py #481

@ghost

Description

python eval.py
Then it can work well like below:

Finished loading model!
im_detect: 1/4952 1.888s
im_detect: 2/4952 0.145s
...

Evaluating detections
Writing aeroplane VOC results file
Writing bicycle VOC results file
...

VOC07 metric? Yes

But after that, it will error:

Exception has occurred: KeyError at 317, eval.py
R = class_recs[image_ids[d]]

And here:

class_recs
{}

image_ids
['000002', '000002', '000002', '000002', '000002', '000002', '000003']

d
0

Do you know what here happening and can you help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions