DanJun6737 / TransFace

[ICCV 2023] TransFace: Calibrating Transformer Training for Face Recognition from a Data-Centric Perspective
52 stars 7 forks source link

TypeError: forward() missing 1 required positional argument: 'label' #9

Closed ericyq closed 5 months ago

ericyq commented 5 months ago

partial_fc_exp.py, line 423 logits = self.margin_softmax(logits, labels) TypeError: forward() missing 1 required positional argument: 'label'

DanJun6737 commented 5 months ago

@ericyq
Please provide more details. We haven't encountered this issue while training with this code.