SthPhoenix / InsightFace-REST

InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

model failed to download

MyraBaba opened this issue · comments

Hi,

when run insight_test.py it says :

RuntimeError: Failed downloading url http://insightface.ai/files/models/arcface_r100_v1.zip

I assume it ws downloading from google drive ? but here is not found

Best

PS: Consider to add Yolo5Face . Landrmarks could be better than scrfd

Hi! this is older debug script based on old versions of official insightface pip package, now it's not working because official package have changed and depreciated some models.

I'll look into yolo5 face detector, as I have said you before it seems promising.

Hi!
As for detection I would recommend using yolov5m or even yolov5l for best accuracy and recall including hard faces (strongly rotated ones etc.) But if your use case dont expect such faces scrfd_10g is a good fit.
As for recognition I would use either glinr100 either w600k_r50 - latter is almost twice faster while preserve almost same accuracy, in some scenarios even better. I.e. w600k_r50 might give lower scores for same faces under very different conditions, but also it gives much lower scores for false positives, so in case you need to compare faces coming from same cameras in same conditions w600k_r50 might be a better option. In case of searching by image in database it might be a bit worse - it'll found person if it is in a DB, but might lower the score, which may harden automatic verification.