deepinsight / insightface

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

running pytorch pre-trained model #1508

Open fisakhan opened 3 years ago

fisakhan commented 3 years ago

How to run a pytorch pre-trained model given at https://github.com/deepinsight/insightface/tree/master/recognition/arcface_torch ? I'm new to pytorch and expect a python file like deploy/test.py

anxiangsir commented 3 years ago

https://github.com/deepinsight/insightface/tree/master/recognition/arcface_torch#inference

isagastiberri commented 3 years ago

Hello @anxiangsir ! I see you use weights without the fp16, could you upload those to mega? I can only find the ones for fp16. I'm asking because if I try with the weight of fp16, even I I change fp16=True in the get_model function I get an error. Thanks a lot!!

fisakhan commented 3 years ago

@anxiangsir Thank you.