ShihaoShao-GH/SuperGlobal

how to set GeM when training?

Opened this issue · 0 comments

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!