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

leaf Variable inplace bug fix #1619

Merged
merged 1 commit into from
Dec 23, 2020
Merged

leaf Variable inplace bug fix #1619

merged 1 commit into from
Dec 23, 2020

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Dec 23, 2020

This PR fixes Docker issue with leaf Variable inplace ops in ultralytics/yolov5#1552.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improvement in bias initialization process within the YOLOv3 model.

📊 Key Changes

  • Adjustments made to the way biases are initialized in the Detect() module.
  • Use of b.data instead of b when modifying bias values.

🎯 Purpose & Impact

  • Enhanced Stability: Direct modification of b.data ensures that gradient tracking is not affected during bias initialization, leading to more stable training behavior.
  • Potential for Better Performance: Proper initialization of biases can contribute to faster convergence and potentially better object detection performance for users.
  • Backward Compatibility: These changes maintain compatibility with existing model configurations and training processes, enabling users to benefit without altering their existing workflows.

@glenn-jocher glenn-jocher merged commit 1c39505 into master Dec 23, 2020
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch December 23, 2020 01:29
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.

None yet

1 participant