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

Layernorm in Prototype learning #12

Open
Trainingzy opened this issue Oct 11, 2022 · 1 comment
Open

Layernorm in Prototype learning #12

Trainingzy opened this issue Oct 11, 2022 · 1 comment

Comments

@Trainingzy
Copy link

Thanks for your great work!
I notice you use layernorm for the final features before the classifier and also for the predictions. I think it is quite uncommon in prototype learning (correct me if i am wrong).

Could you please provide some explanation for this? And if removing the two layernorm, will the performance be degraded?

self.feat_norm = nn.LayerNorm(in_channels)

@kaigelee
Copy link

Have you solved it? I have the same problem

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