-
-
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
comment missing arg #1135
comment missing arg #1135
Conversation
@glenn-jocher or am I doing something wrong? |
Hmmm good question. The anchors field in the hyps dictionary will force an autoanchor calculation. This is really useful during evolution to let the anchor count evolve, but not desired during normal training, which is why they are commented by default. When I evolved before I uncommented the anchor field, and gave it a nonzero starting value, i.e |
I think commenting the same field in the meta dictionary can work... yes that should work, it will act as if the field does not exist at all. Anchor count will be fixed at 3, and autoanchor will be run if the Best Possible Recall (BPR) dips below threshold, which is set at 0.98 at the moment. Varying the hyps can cause your BPR to vary, so its possible some generations may use it and other not. |
EDIT: BTW the reason there are two dictionaries is that the |
where shall I add this option, because the evolve is still failing for me unless I comment it...
|
@Borda to evolve the number of anchors your model uses, you can uncomment the OR if you want to leave your anchor count alone, just comment |
@Borda good news 😃! Your original issue may now be fixed ✅ in PR #3887. This PR adds
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 🚀! |
the case is that with this call:
I get following error:
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Enhanced hyperparameter flexibility in YOLOv5 training.
📊 Key Changes
🎯 Purpose & Impact