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

Fix ClearML unconfigured error #10369

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Fix ClearML unconfigured error #10369

merged 1 commit into from
Dec 1, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Dec 1, 2022

@thepycoder adds Try Except for installed but unconfigured clearml environments.

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

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improve robustness of ClearML integration in YOLOv5 logging.

πŸ“Š Key Changes

  • Wrapped the ClearmlLogger initialization in a try-except block.
  • If initialization fails, self.clearml is set to None.
  • Added a colored error message prefix indicating an issue with ClearML setup.

🎯 Purpose & Impact

  • 🎯 Purpose: To handle cases where ClearML setup is not successful, preventing the entire logging process from failing and providing users with guidance on where to seek help.
  • πŸš€ Impact: Users will have a clearer indication if there is an issue with ClearML integration, reducing frustration and downtime due to unexpected crashes. It also helps in maintaining logging functionality even if ClearML is not properly set up.

@thepycoder adds Try Except for installed but unconfigured clearml environments.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit 7845cea into master Dec 1, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch December 1, 2022 21:56
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