Skip to content

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 18, 2022

Signed-off-by: Glenn Jocher [email protected]

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Updated argument behavior and documentation for classification predictions.

πŸ“Š Key Changes

  • Changed the default action for the --save-txt argument from store_false to store_true in classify/predict.py.
  • Removed a line in the classify/tutorial.ipynb notebook that indicated text label results were saved, to reflect the new default behavior.

🎯 Purpose & Impact

  • The updated --save-txt argument makes it easier for users to save text results by default, improving the out-of-the-box experience.
  • The tutorial update helps prevent confusion, ensuring that the documentation matches the actual behavior of the code.
  • Potential impact includes users automatically receiving text files with results, which could be beneficial for record-keeping or further analysis without needing additional command line arguments. πŸ“ˆ

@glenn-jocher glenn-jocher self-assigned this Nov 18, 2022
Signed-off-by: Glenn Jocher <[email protected]>
@glenn-jocher glenn-jocher merged commit 9bf1855 into master Nov 18, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-3 branch November 18, 2022 22:46
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