Skip to content

Conversation

@zhujiajian98
Copy link
Contributor

When our custom dataset label is not named after the coco dataset file, we are likely to trigger the following bugs when we run the eval script: AssertionError: Results do not correspond to current coco set.
The reasons that trigger this bug are: 1. The eval func could not map the image name to image id; 2. The coco api could not compare the type str with type int.
So we should change the evaluation fucation of yolov6 and the coco api, the corresponding changes of evaluation function is changed in the branch yolov6-eval. In the end, we should add one line of code in coco api after the line of the aforementioned assertionerror like annsImgIds = list(map(int, annsImgIds)).

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

Successfully merging this pull request may close these issues.

1 participant