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

Comment EMA assert #9173

Merged
merged 1 commit into from
Aug 26, 2022
Merged

Comment EMA assert #9173

merged 1 commit into from
Aug 26, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Aug 26, 2022

Signed-off-by: Glenn Jocher glenn.jocher@ultralytics.com

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Refinement of Exponential Moving Average (EMA) code in YOLOv5's torch utilities.

📊 Key Changes

  • Commented out an assertion check that ensured both EMA and model weights are in FP32 format.

🎯 Purpose & Impact

  • This change potentially allows for more flexibility with data types used in model weights, facilitating experimentation and usage of different numerical precisions without triggering assertion errors.
  • The impact on users could include fewer interruptions due to assertion failures, especially when working with mixed precision (FP16/FP32) models.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher self-assigned this Aug 26, 2022
@glenn-jocher glenn-jocher merged commit cff9717 into master Aug 26, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-2 branch August 26, 2022 18:06
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
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