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

Update torch_utils.py import LOGGER #5483

Merged
merged 1 commit into from
Nov 3, 2021
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 3, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Refactoring logging by adjusting LOGGER import in torch_utils.py.

πŸ“Š Key Changes

  • Removed the local LOGGER definition within torch_utils.py.
  • Imported LOGGER from utils.general.

🎯 Purpose & Impact

  • This change streamlines logging across modules by using a central LOGGER from utils.general.
  • Maintaining consistency in logging practices, it simplifies code maintenance and enhances readability.
  • End-users will benefit from more consistent and potentially more informative logging throughout the application. πŸ“š

@glenn-jocher glenn-jocher merged commit 84a8099 into master Nov 3, 2021
@glenn-jocher glenn-jocher deleted the update/torch_utils_LOGGER branch November 3, 2021 16:17
@glenn-jocher glenn-jocher restored the update/torch_utils_LOGGER branch November 3, 2021 18:05
@glenn-jocher glenn-jocher deleted the update/torch_utils_LOGGER branch November 3, 2021 18:05
glenn-jocher added a commit that referenced this pull request Nov 3, 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