Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

how to set GeM when training? #17

Open
Geek-lixiang opened this issue May 9, 2024 · 2 comments
Open

how to set GeM when training? #17

Geek-lixiang opened this issue May 9, 2024 · 2 comments

Comments

@Geek-lixiang
Copy link

Geek-lixiang commented May 9, 2024

when train model, I have known to use arcface loss, but in the model, how to use the GeM?
whether the p is trainable when training, if yes, how to initialize it? if not, how to set the p for it?
if do not ise gem when training, then where the feature come from?

Thank you very much!

@darthvaddor
Copy link

Hey did you find out the answer. Is so please share

when train model, I have known to use arcface loss, but in the model, how to use the GeM? whether the p is trainable when training, if yes, how to initialize it? if not, how to set the p for it? if do not ise gem when training, then where the feature come from?

Thank you very much!

@chenrunlan368
Copy link

Hey did you find out the answer. Is so please share? @Geek-lixiang @darthvaddor @ShihaoShao-GH

when train model, I have known to use arcface loss, but in the model, how to use the GeM? whether the p is trainable when training, if yes, how to initialize it? if not, how to set the p for it? if do not ise gem when training, then where the feature come from?

Thank you very much!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants