deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
23.37k stars 5.41k forks source link

Bug - self.easy_margin not defined in arcloss #1893

Closed nsriniva03 closed 2 years ago

nsriniva03 commented 2 years ago

In Arcface class, self.easy_margin is not defined. Variable easy_margin must be passed as input during initialization

anxiangsir commented 2 years ago

Thank you. We'll fix it soon

admin221 commented 2 years ago

并且初始化的时候用的变量是self.scale,在27行用的self.s