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

Update P5 + P6 model ensembling #3082

Merged
merged 1 commit into from
May 8, 2021
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 8, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancements to model ensemble creation for improved compatibility and performance.

πŸ“Š Key Changes

  • Updated print statement for ensemble creation to use f-string formatting.
  • Removed 'stride' from the list that copies attributes to the ensemble model.
  • Added a new line that determines the maximum 'stride' value from all models in the ensemble and assigns it to the ensemble.

🎯 Purpose & Impact

  • The change to f-string formatting improves code readability and maintainability. πŸ“–
  • Removing 'stride' from the direct attribute copy and computing the maximum 'stride' across all models ensures the ensemble operates with the largest 'stride', potentially improving the performance and compatibility of mixed-model ensembles. πŸƒβ€β™‚οΈπŸ’¨
  • Users might see better ensemble model performance when combining models with different 'stride' values, reflecting a more robust and accurate object detection. πŸŽ―πŸš€

@glenn-jocher glenn-jocher linked an issue May 8, 2021 that may be closed by this pull request
@glenn-jocher glenn-jocher self-assigned this May 8, 2021
@glenn-jocher glenn-jocher merged commit 251aeaf into master May 8, 2021
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-5 branch May 8, 2021 17:06
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this pull request May 12, 2021
Lechtr pushed a commit to Lechtr/yolov5 that referenced this pull request Jul 20, 2021
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
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

Successfully merging this pull request may close these issues.

Some errors when ensemble models
1 participant