deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
23.36k stars 5.41k forks source link

insightface.model_zoo.model_zoo.get_model() returns RetinaFace not SCRFD instance? #2226

Open aesanchezgh opened 1 year ago

aesanchezgh commented 1 year ago

Hello,

I have the following code:

face_detector = insightface.model_zoo.model_zoo.get_model('insightface/models/antelope/scrfd_10g_bnkps.onnx')

However in the latest version of insightface this retruns an instance of RetinaFace instead of SCRFD. Any idea how to fix this?

Thanks!

nttstar commented 1 year ago

Right now RetinaFace and SCRFD are the same in python package.

haseebkhawaja commented 7 months ago

@antonsanchez facing same problem..