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

Add --half arguments to export.py Usage examples #8516

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jul 7, 2022

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved export script guidance with half-precision support info.

πŸ“Š Key Changes

  • Added a command line argument --half to include half-precision (FP16) inference in the post-export messages.
  • Reorganized the post-export message to include the --half argument where applicable.

🎯 Purpose & Impact

  • Provide Clearer Guidance: The messages displayed after exporting models now include instructions on how to perform inference in half-precision mode, making it clearer for users who want to use this feature.
  • Enhanced User Experience: Users get immediate, post-export instructions with the correct flags for half-precision, improving the ease of transition to testing and validation steps.
  • Potential Performance Boost: The half-precision inference can potentially improve performance on supported hardware, offering faster inference times and reduced model size.

πŸŽπŸ’Ύβœ…

@glenn-jocher glenn-jocher self-assigned this Jul 7, 2022
@glenn-jocher glenn-jocher merged commit 63ba0cb into master Jul 7, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch July 7, 2022 22:46
Shivvrat pushed a commit to Shivvrat/epic-yolov5 that referenced this pull request Jul 12, 2022
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 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