SthPhoenix / InsightFace-REST

InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.
Apache License 2.0
503 stars 117 forks source link

Hash Mismatch #126

Closed Sayyam-Jain closed 6 months ago

Sayyam-Jain commented 9 months ago

Hi Thank you for the wonderful work. In the recognition models (Glintr100 & Arcface), there is a hash mismatch where it tries to download the model again resulting in incomplete download.

This results in protobuf errors. I downloaded the files manually and commented the following lines and the model compiled successfully. https://github.com/SthPhoenix/InsightFace-REST/blob/35abbb7e3400f96bdf8b5950e18eb32d03fede0a/src/api_trt/modules/model_zoo/getter.py#L111 https://github.com/SthPhoenix/InsightFace-REST/blob/35abbb7e3400f96bdf8b5950e18eb32d03fede0a/src/api_trt/modules/model_zoo/getter.py#L112

Can you please check. Thanks again

SthPhoenix commented 6 months ago

Hi! It's known issue with downloading models from some regions, where google drive might be inaccessible. Downloading models manually should fix the issue.