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

swa_model_12.pth和swa_epoch_12.pth有什么区别吗? #17

Open
wzr0108 opened this issue Jun 26, 2022 · 1 comment
Open

swa_model_12.pth和swa_epoch_12.pth有什么区别吗? #17

wzr0108 opened this issue Jun 26, 2022 · 1 comment

Comments

@wzr0108
Copy link

wzr0108 commented Jun 26, 2022

还要用get_swa_model()对swa_model_12.pth----swa_model_1.pth求平均吗

@hyz-xmaster
Copy link
Owner

swa_model_12.pth is the model obtained by averaging swa_epoch_1.pth ~ swa_epoch_12.pth. So you don't need to use get_swa_model(), which is a helper function to be used in scenarios where manually averaging is needed.

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