insightface
insightface copied to clipboard
Need of forward_backward in partial_fc.py for arcface_torch ?
Why do we explicitly need to code the backward part in forward_backward in partial_fc.py for arcface_torch?
can't PyTorch auto-differentiation take care of this?
I would really appreciate help on this.
Thanks
same question here. how to simplfy the code to avoid manually compute the arcface gradient (grad and x_grad) in partial_fc.py ?@anxiangsir
did anyone find an answer or another solution for backward?