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

.net and .net_swa parameters in .ckpt file #46

Open
Rishabh-S1899 opened this issue Apr 2, 2024 · 1 comment
Open

.net and .net_swa parameters in .ckpt file #46

Rishabh-S1899 opened this issue Apr 2, 2024 · 1 comment

Comments

@Rishabh-S1899
Copy link

We have finetuned the passt_s_swa_p16_s16_128_ap473 model on Dcase 2020 dataset for scene classificiation. Now we are trying to use the finetuned model by loading params from ckpt file using state dictionary. But it says it has two types of params .net and.net_swa. Which params are we supposed to use for the architecture

@kkoutini
Copy link
Owner

kkoutini commented Apr 4, 2024

Hi, the .net is the trained model. . net_swa contains the Stochastic Weight Averaging of the model during training. In some cases, the average prevents overfitting, so I recommend checking both on the task.

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