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

New eval function of yolov6 #936

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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