-
-
Notifications
You must be signed in to change notification settings - Fork 16.5k
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
how to draw percision, recall curve for yolov5 tensorboard #4232
Comments
@besbesmany PR curve is saved as PR_curve.png in your logging directory. |
I want to compare PR curves for several runs in same chart in tensorboard, how can I do it sir |
@besbesmany hi, thank you for your feature suggestion on how to improve YOLOv5 🚀! You'd have to submit a PR for TensorBoard logging of the 4 curves produced: P, R, PR, F1. These four curves are produced here: Lines 69 to 76 in d8f1883
The fastest and easiest way to incorporate your ideas into the official codebase is to submit a Pull Request (PR) implementing your idea, and if applicable providing before and after profiling/inference/training results to help us understand the improvement your feature provides. This allows us to directly see the changes in the code and to understand how they affect workflows and performance. Please see our ✅ Contributing Guide to get started. |
I don't know how to do it , I need help to draw pr curve for several runs in one chart for comparison |
@besbesmany I looked into this some more, the curves won't plot as scalars in TensorBoard but they are saveable as images: |
ok thank you sir |
@besbesmany I would use W&B to view your results, as you can view all your PR curves in a project side by side. |
@besbesmany good news 😃! Your original issue may now be fixed ✅ in PR #4220. This PR implements callbacks and also adds all results plots to TensorBoard by default. This allows you to compare curves from different runs side by side, i.e.: To receive this update:
Thank you for spotting this issue and informing us of the problem. Please let us know if this update resolves the issue for you, and feel free to inform us of any other issues you discover or feature requests that come to mind. Happy trainings with YOLOv5 🚀! |
Dear sir
should I do anything else to compare pr curve for several runs? I didn't understand these 2 lines: |
@besbesmany open Colab notebook:
|
Thank you sir |
is this also for wandb or tensorboard only? |
@besbesmany both |
thanks alot |
👋 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 ⭐! |
how to draw the pr_curve for yolov5 tensorboard?
The text was updated successfully, but these errors were encountered: