DanJun6737 / TransFace

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

Inference questions #3

Closed HeChengHui closed 7 months ago

HeChengHui commented 7 months ago

@DanJun6737 thank you for your work.

I would like to ask the following:

  1. for inferencing on own images, can i use this file?
  2. if i am using this through modelscope, how do i specify certain models?
DanJun6737 commented 7 months ago

@HeChengHui Thank you for your attention to our work.

1)Yes, of course, you can use this file to perform inference on your own face images. We have updated this inference file. You simply need to specify the size of the TransFace model and load the corresponding version of the pre-trained model to perform inference.

2)The current version of Modelscope only supports inference for the TransFace-B model trained on the Glint360K dataset. We will load other versions of the TransFace model onto the Modelscope platform as soon as possible. If you want to use our model now, you can download various versions of the pre-trained models we provide and load them for usage (i.e., https://github.com/DanJun6737/TransFace#transface-pretrained-models).

HeChengHui commented 7 months ago

@DanJun6737 Thanks for the update!