clovaai / voxceleb_trainer

In defence of metric learning for speaker recognition
MIT License
1.03k stars 272 forks source link

Angular Prototypical and # of classes #34

Closed jlian2 closed 4 years ago

jlian2 commented 4 years ago

Does it consider all classes(5994) in a mini-batch? I am confused of this because if a mini-batch size is only 800, then maximum number of classes is just 800?

lbjcom commented 4 years ago

Does it consider all classes(5994) in a mini-batch? I am confused of this because if a mini-batch size is only 800, then maximum number of classes is just 800?

Yes, the number of output classes is same as the batch size in angular prototypical loss. But the output label is not used in the evaluation.