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

Hello #142

Closed
glenn-jocher opened this issue Nov 2, 2024 · 4 comments
Closed

Hello #142

glenn-jocher opened this issue Nov 2, 2024 · 4 comments

Comments

@glenn-jocher
Copy link
Member

glenn-jocher commented Nov 2, 2024

testing

@glenn-jocher
Copy link
Member Author

Hello 3

@hbagherpour84
Copy link

Dear Glenn jocher
I recently train yolo 8 for my project and its results were good. but in this project I want to calculate evaluation parameters such as recall, precision and accuracy. because the confusion matrix has background too, I could not understand how to calculate these parameters. does background use in formula of precision and etc.?

@glenn-jocher
Copy link
Member Author

For YOLO8 evaluation metrics with background class:

  1. The background class typically isn't included when calculating precision/recall metrics for object detection, since we're primarily interested in actual object detection performance.

  2. For calculating metrics:

  • Precision = TP / (TP + FP) for each actual object class
  • Recall = TP / (TP + FN) for each actual object class
  • mAP calculation focuses on detected objects vs ground truth

Given this appears to be a technical question about YOLOv8 implementation, I'd recommend opening an issue on the Ultralytics GitHub repository at https://github.com/ultralytics/ultralytics.

@hbagherpour84
Copy link

hbagherpour84 commented Nov 19, 2024 via email

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