InsightFace external model #826
EngTurtle
started this conversation in
Show and tell
Replies: 1 comment 1 reply
|
Edit: turns out openvino is much more performant for subsequent inference requests, I was restarting the container between tests and not allowing ONNX to cache the compiled openvino IR model. OpenVINO inference is 1-2s for a 2000x1500 image compared to 10-20s on CPU for the Intel N100 😁 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi I vibe coded a fork of the external-model container to use the InsightFace models, since they were used as the basis of Immich's face clustering feature. And following immich's ML container example I added versions for Nvidia and Intel GPU compute.
https://github.com/EngTurtle/facerecognition-external-model/tree/insight-face
My quick tests of the inference speed on CPU seems similar to the original dlib models.
And the openvino testing on my N100 iGPU server was much slower than the CPU (1 min / img vs ~15s). I haven't had the chance to try it with a Nvidia GPU yet.I'm requesting and wondering if someone can benchmark the actual detection and clustering performance, as per the original comparison https://github.com/matiasdelellis/facerecognition/wiki/Comparative-analysis-of-the-models.
All reactions