exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.64k stars 770 forks source link

Huge memory consumption on ArcFace. Is it normal? #872

Open martinenkoEduard opened 2 years ago

martinenkoEduard commented 2 years ago

Is it normal? All default settings. It get up to 14gb.

compre_face_memory_consumption

pospielov commented 2 years ago

It looks like you have 4 uwsgi processes. Each process has to load the model to RAM. And processes don't share the memory. So yes, it's expected. The question is if 4 uwsgi processes really speed up the concurrent recognition. So if you really need it