Sunshine066 / my-face-althorithm

my face althorithm
1 stars 0 forks source link

partial fc+adaface #2

Open zws98 opened 9 months ago

zws98 commented 9 months ago

请问结合adaface和partial fc时,原文中的这段代码该怎么加? if isinstance(x, tuple): cos_thetas, bad_grad = x targets[bad_grad.squeeze(-1)] = -100

Sunshine066 commented 9 months ago

额,和这段代码没关系啊

德玛西亚 @.***

 

------------------ 原始邮件 ------------------ 发件人: "Sunshine066/my-face-althorithm" @.>; 发送时间: 2023年11月28日(星期二) 晚上8:53 @.>; @.***>; 主题: [Sunshine066/my-face-althorithm] partial fc+adaface (Issue #2)

请问结合adaface和partial fc时,原文中的这段代码该怎么加? if isinstance(x, tuple): cos_thetas, bad_grad = x targets[bad_grad.squeeze(-1)] = -100

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

zws98 commented 9 months ago

soga,感谢。