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 git info to cls, seg checkpoints #10217

Merged
merged 1 commit into from
Nov 19, 2022
Merged

Add git info to cls, seg checkpoints #10217

merged 1 commit into from
Nov 19, 2022

Conversation

glenn-jocher
Copy link
Member

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

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced training scripts to include Git repository information in model checkpoints.

πŸ“Š Key Changes

  • Added GIT constant (containing remote, branch, commit info) to the saved checkpoints in train.py, classify/train.py, and segment/train.py.
  • Removed some commented-out Weights & Biases related arguments from segment/train.py.

🎯 Purpose & Impact

  • Purpose: To provide better tracking and reproducibility of model training by including the repository's state within the saved checkpoints.
  • Impact: Users can now identify which exact version of the code was used to train a model, making it easier to replicate results or diagnose issues related to specific commits. πŸ•΅οΈβ€β™‚οΈβœ…
  • The removed W&B code lines indicate a leaner configuration in segment/train.py, potentially indicating a shift away from specific W&B features or a cleanup of the code.

@glenn-jocher glenn-jocher self-assigned this Nov 19, 2022
@glenn-jocher glenn-jocher merged commit 0307954 into master Nov 19, 2022
@glenn-jocher glenn-jocher deleted the update/git branch November 19, 2022 02:32
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