InsightFace-REST icon indicating copy to clipboard operation
InsightFace-REST copied to clipboard

Hash Mismatch

Open Sayyam-Jain opened this issue 1 year ago • 1 comments
trafficstars

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

Sayyam-Jain avatar Feb 16 '24 13:02 Sayyam-Jain

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

SthPhoenix avatar May 14 '24 19:05 SthPhoenix