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

Remove redundant speed/study half argument #3557

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jun 9, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Streamlined benchmark and study test arguments in YOLOv5 test.py.

πŸ“Š Key Changes

  • Removed the half parameter from test function calls within 'speed' and 'study' tasks.
  • Simplified the function call by omitting an explicit argument for mixed precision testing.

🎯 Purpose & Impact

  • Simplification: Removing the half parameter simplifies the code and could potentially centralize mixed precision handling within the test function itself.
  • Consistency: Ensures consistent function calls across different testing scenarios.
  • Performance: This change may impact how the model runs during testing scenarios, particularly how it handles mixed precision for speed benchmarks and study tasks.

@glenn-jocher glenn-jocher merged commit 4ef9261 into master Jun 9, 2021
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-4 branch June 9, 2021 14:30
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.

1 participant