CurricularFace icon indicating copy to clipboard operation
CurricularFace copied to clipboard

calculate t was wrong

Open Aruen24 opened this issue 4 years ago • 2 comments

with torch.no_grad(): self.t = target_logit.mean() * 0.01 + (1 - 0.01) * self.t but your paper is: t(k) = αr(k) + (1 - α)t(k-1); where t0 = 0, α is the momentum parameter and set to0.99.

Aruen24 avatar Jul 01 '20 09:07 Aruen24

i got this problem,did you solve that?

QuasarLight avatar Mar 23 '21 07:03 QuasarLight

I think the code is right

self.t = target_logit.mean() * 0.01 + (1 - 0.01) * self.t

powermano avatar Jul 28 '21 06:07 powermano