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

Single Image score #29

Closed
pathikg opened this issue May 1, 2023 · 1 comment
Closed

Single Image score #29

pathikg opened this issue May 1, 2023 · 1 comment

Comments

@pathikg
Copy link

pathikg commented May 1, 2023

In my scenario, I need to compute the mAP.5:.95 metric for an individual image output.
I have two files at my disposal, e.g. ground_truth.txt and prediction.txt. I am seeking guidance on how to utilize the globox library to calculate the scores for a single file.

@laclouis5
Copy link
Owner

laclouis5 commented May 1, 2023

A one-file dataset is still a dataset. You can use the regular AnnotationSet methods to read the annotations, for instance AnnotationSet.from_yolo_v7 and others. You can also create the AnnotationSets from single annotations with the Annotation class methods.

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