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 Python version output #7814

Merged
merged 1 commit into from
May 14, 2022
Merged

Add Python version output #7814

merged 1 commit into from
May 14, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 14, 2022

i.e.

YOLOv5 πŸš€ v6.1-185-g4a295b1 Python-3.9.0 torch-1.11.0 CPU

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Refactoring code for readability and consistency.

πŸ“Š Key Changes

  • Renamed the function file_update_date() to file_date() in utils/general.py for clarity.
  • Updated references of the renamed function in utils/torch_utils.py.

🎯 Purpose & Impact

  • Enhances code maintainability by using more intuitive function naming.
  • The impact on users is minimal as this is an internal change, but developers will benefit from more clearly named functions.

@glenn-jocher glenn-jocher self-assigned this May 14, 2022
@glenn-jocher glenn-jocher merged commit 3356f26 into master May 14, 2022
@glenn-jocher glenn-jocher deleted the add/python branch May 14, 2022 16:30
tdhooghe pushed a commit to tdhooghe/yolov5 that referenced this pull request Jun 10, 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