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

feat: add checkpoint resume functionality, consolidate weights and custom weights path option for inference #26

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

drishyakarki
Copy link
Contributor

  • Add ability to resume training from specific checkpoints
  • Consolidate optimizer and model weights into single file
  • Reduce number of checkpoint files to 2
  • Add --weights argument to specify model weights path for inference
  • Implement fallback logic to use best checkpoint from work_dir if no path specified
  • Improve logging for model loading process
  • Add file existence checks for weight paths
  • Update help messages and documentation

- Add ability to resume training from specific checkpoints
- Consolidate optimizer and model weights into single file
- Reduce number of checkpoint files to 2
- Add --weights argument to specify model weights path for inference
- Implement fallback logic to use best checkpoint from work_dir if no path specified
- Improve logging for model loading process
- Add file existence checks for weight paths
- Update help messages and documentation
@SilvioGiancola SilvioGiancola merged commit 8c1a980 into OpenSportsLab:main Jan 13, 2025
4 checks passed
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.

2 participants