AdaFace icon indicating copy to clipboard operation
AdaFace copied to clipboard

What does classnum=70722 mean in AdaFace?

Open martinenkoEduard opened this issue 2 years ago • 7 comments

What does classnum=70722 mean in AdaFace?

martinenkoEduard avatar Aug 22 '22 16:08 martinenkoEduard

it means the number of subject is 70722. It has to be changed according to the dataset you use.

mk-minchul avatar Sep 10 '22 15:09 mk-minchul

it means the number of subject is 70722. It has to be changed according to the dataset you use.

martinenkoEduard avatar Sep 12 '22 05:09 martinenkoEduard

it means the number of subject is 70722. It has to be changed according to the dataset you use.

Do I need to retrain model if I change this? Or doesn't matter for already trained model?

martinenkoEduard avatar Sep 12 '22 05:09 martinenkoEduard

it means the number of subject is 70722. It has to be changed according to the dataset you use.

Do I need to retrain model if I change this? Or doesn't matter for already trained model?

Or does it matter only if I retrain the model or train it?

martinenkoEduard avatar Sep 12 '22 05:09 martinenkoEduard

Does it mean if I user pretrained model? And I don't know the exact number of faces I will search?

martinenkoEduard avatar Sep 12 '22 06:09 martinenkoEduard

Do I need to change -
class AdaFace(Module): def init(self, embedding_size=512, classnum=70722, m=0.4, h=0.333, s=64., t_alpha=1.0, ):

martinenkoEduard avatar Sep 12 '22 06:09 martinenkoEduard

it means the number of subject is 70722. It has to be changed according to the dataset you use.

Only for training?

martinenkoEduard avatar Nov 11 '22 14:11 martinenkoEduard