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

After training the model, how to save it into model.pth #411

Open
dugurrn opened this issue Dec 12, 2022 · 1 comment
Open

After training the model, how to save it into model.pth #411

dugurrn opened this issue Dec 12, 2022 · 1 comment

Comments

@dugurrn
Copy link

dugurrn commented Dec 12, 2022

Sorry I know this might be a really stupid question. Should I just use any of the checkpoint_epoch.pth? Or where can I find the model.pth and save it?

@milesial
Copy link
Owner

The checkpoints contain the model weights yes. You should use the checkpoint for the epoch you prefer (better accuracy), usually the latest.

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

No branches or pull requests

2 participants