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 general.py #11322

Merged
merged 2 commits into from
Apr 9, 2023
Merged

Update general.py #11322

merged 2 commits into from
Apr 9, 2023

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Apr 9, 2023

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Reduce TensorFlow compiler verbosity in Colab environments.

πŸ“Š Key Changes

  • Added an environment variable TF_CPP_MIN_LOG_LEVEL to suppress verbose TensorFlow compiler warnings.

🎯 Purpose & Impact

  • πŸš€ Purpose: The change aims to create a cleaner output by filtering out extensive TensorFlow compilation warnings that are not critical for the user during execution in Google Colab notebooks.
  • βœ… Impact: Users will experience less distraction from non-essential warnings, leading to a more focused and pleasant development and training experience while using YOLOv5 in Colab environments.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher self-assigned this Apr 9, 2023
@glenn-jocher glenn-jocher merged commit f7c6562 into master Apr 9, 2023
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch April 9, 2023 15:51
bandakopi pushed a commit to irajcode/yolov5 that referenced this pull request Jul 20, 2023
* Update general.py

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

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.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.

1 participant