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

Replace print() with logging.info() in trainloader #3103

Merged
merged 1 commit into from
May 10, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 10, 2021

Might indirectly help #3095 by providing better visibility on source of corruption.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Switching to a standardized logging system for corrupted image/label warnings.

📊 Key Changes

  • Errors for corrupted images and labels now use logging.info instead of print.

🎯 Purpose & Impact

  • Increased Consistency: Aligns error reporting with standardized logging practices.
  • Better Integration: Facilitates integration with other systems and log monitoring tools.
  • User Clarity: Maintains the communication of issues to the user, but in a more structured format.

Might indirectly help #3095 by providing better visibility on source of corruption.
@glenn-jocher glenn-jocher linked an issue May 10, 2021 that may be closed by this pull request
@glenn-jocher glenn-jocher merged commit abfcf9e into master May 10, 2021
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-5 branch May 10, 2021 15:07
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this pull request May 12, 2021
Might indirectly help ultralytics#3095 by providing better visibility on source of corruption.
Lechtr pushed a commit to Lechtr/yolov5 that referenced this pull request Jul 20, 2021
Might indirectly help ultralytics#3095 by providing better visibility on source of corruption.

(cherry picked from commit abfcf9e)
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
Might indirectly help ultralytics#3095 by providing better visibility on source of corruption.
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.

Corrupted images error
1 participant