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

bbox AP not being calculated #55

Open
Changomango0903 opened this issue Aug 16, 2024 · 2 comments
Open

bbox AP not being calculated #55

Changomango0903 opened this issue Aug 16, 2024 · 2 comments

Comments

@Changomango0903
Copy link

I've been trying to evaluate my YOLO models using this tool but I can't seem to get the AP to calculate. Attached below are the coco-labels and the results.json that I've created matching the example mask-rcnn format that was shown in the jupyter notebook.
data.json
_annotations.coco.json

@Changomango0903
Copy link
Author

Changomango0903 commented Aug 16, 2024

Incase it is also required, I will include the code used to evaluate the results below:

bbox_file = 'path to json'

from tidecv import TIDE
import tidecv.datasets as datasets

dataset = datasets.COCO("path-to-annotation")
bbox_results = datasets.COCOResult(bbox_file)
tide = TIDE()

tide.evaluate_range(dataset, bbox_results, mode=TIDE.BOX)

tide.summarize()
tide.plot()

@mrciolino
Copy link

mrciolino commented Aug 29, 2024

Take a look at this project instead (for yolov8): I recently got it working

https://github.com/annsonic/identify_box_error

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

2 participants