liuyoude / STgram-MFN

A spectro-temporal fusion feature, STgram, with MobileFaceNet For more stable Anomalous Sound Detection
61 stars 12 forks source link

ArcFace parameter settings #12

Open waaaaangchangwen opened 1 year ago

waaaaangchangwen commented 1 year ago

Hi, Im wondering how you came up with the parameter of margin 0.7 and scale 30 in the ArcFace loss. Is there a rule to follow or just by testing different numbers?

liuyoude commented 1 year ago

It‘s also set as margin 0.7 and scale 30 in test.

waaaaangchangwen commented 1 year ago

Thanks for answering the question But what i mean is that how you choose this setting

liuyoude commented 1 year ago

Sorry, the margin and scale are the empirical values determined through experiments.