Skip to content

Update yolo.py#7061

Closed
glenn-jocher wants to merge 1 commit intomasterfrom
update/yolo
Closed

Update yolo.py#7061
glenn-jocher wants to merge 1 commit intomasterfrom
update/yolo

Conversation

@glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Mar 20, 2022

Cleanup from #7060

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Refinement in anchor order checking within YOLOv5 model initialization.

📊 Key Changes

  • Reordered the sequence of operations in the model initialization to perform the anchor order check before calculating the network stride.

🎯 Purpose & Impact

  • 🎯 Purpose: This change ensures that anchor order verification is done earlier in the setup process, improving error detection in network configurations.
  • 🚀 Impact: Users can expect more reliable model initialization, leading to potentially better object detection performance and stability. This small update contributes to the overall robustness of the YOLOv5 initialization process.

@glenn-jocher glenn-jocher self-assigned this Mar 20, 2022
@glenn-jocher
Copy link
Member Author

m.stride is undefined here causing error. Closing PR.

@glenn-jocher glenn-jocher deleted the update/yolo branch March 20, 2022 15:42
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.

1 participant