Skip to content

Conversation

glenn-jocher
Copy link
Member

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

Signed-off-by: Glenn Jocher [email protected]

🛠️ 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 <[email protected]>
@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 <[email protected]>

Signed-off-by: Glenn Jocher <[email protected]>
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