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

Write date in checkpoint file #5514

Merged
merged 3 commits into from
Nov 5, 2021

Conversation

developer0hye
Copy link
Contributor

@developer0hye developer0hye commented Nov 5, 2021

Write date in checkpoint file

Related to #5513

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improvements in model checkpoint metadata with datetime addition.

πŸ“Š Key Changes

  • Imported datetime module in train.py.
  • Extended the model checkpoint dictionary to include the current date and time when saving.

🎯 Purpose & Impact

  • The addition of the current date and time ('date': datetime.now().isoformat()) to the model's checkpoint information allows users to track when each checkpoint was created, improving model versioning and reproducibility.
  • This tweak aids users in organizing their training runs more effectively, potentially leading to a smoother development and debugging process. πŸ•’πŸ“ˆ

@glenn-jocher glenn-jocher linked an issue Nov 5, 2021 that may be closed by this pull request
2 tasks
@glenn-jocher glenn-jocher merged commit 99a45ba into ultralytics:master Nov 5, 2021
@glenn-jocher
Copy link
Member

@developer0hye PR is merged. Thank you for your contributions to YOLOv5 πŸš€ and Vision AI ⭐

@developer0hye developer0hye deleted the patch-10 branch November 5, 2021 11:48
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* write date in checkpoint file

write date in checkpoint file

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* isoformat

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <[email protected]>
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.

Save date in checkpoint file
2 participants