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 unused time_sync import #9026

Merged
merged 2 commits into from
Aug 18, 2022
Merged

Remove unused time_sync import #9026

merged 2 commits into from
Aug 18, 2022

Conversation

glenn-jocher
Copy link
Member

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

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

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced YOLOv5 validation script for streamlined inference.

πŸ“Š Key Changes

  • Removed time_sync function import from utils.torch_utils in the val.py script.

🎯 Purpose & Impact

  • 🎯 Purpose: Streamlining the validation code by eliminating unnecessary utilities, potentially reducing clutter and confusion within the codebase.
  • πŸ’‘ Impact: Users may experience a slight increase in clarity when navigating the validation script, although the change is minimal and may not have a noticeable impact on the end-user experience. Developers will have a cleaner codebase to work with, ensuring that only essential utilities are imported.

@glenn-jocher glenn-jocher merged commit a5a47c5 into master Aug 18, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch August 18, 2022 18:26
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