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

Best iou,confidence threshold for train and inference #7469

Closed
1 task done
Miho-an-kou opened this issue Apr 18, 2022 · 3 comments
Closed
1 task done

Best iou,confidence threshold for train and inference #7469

Miho-an-kou opened this issue Apr 18, 2022 · 3 comments
Labels
question Further information is requested Stale

Comments

@Miho-an-kou
Copy link

Search before asking

Question

  1. How to find the best IOU threshold of custom dataset?
  2. How to calculate the most appropriate confidence threshold under the condition of good precision and recall for inference?
    Thanks for advice!

Additional

No response

@Miho-an-kou Miho-an-kou added the question Further information is requested label Apr 18, 2022
@glenn-jocher
Copy link
Member

glenn-jocher commented Apr 19, 2022

@Miho-an-kou select max F1 curve confidence from the val.py plots, i.e. about 0.35 here following YOLOv5s VOC training:

image

@Miho-an-kou
Copy link
Author

Miho-an-kou commented Apr 20, 2022

@Miho-an-kou select max F1 curve confidence from the val.py plots, i.e. about 0.35 here following YOLOv5s VOC training:

image

Thanks

Similarly, is the best IOU in the following PR_curve generated by val.py is 0.5?
PR_curve

@github-actions
Copy link
Contributor

github-actions bot commented May 21, 2022

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 🚀 resources:

Access additional Ultralytics ⚡ resources:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

2 participants