Skip to content

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.

1 participant