insightface
insightface copied to clipboard
Ideas on How to Increase Speed for Obtaining Face Embeddings
First of all, thank you for this great library. I'm attempting to speed up the calculation of embeddings for faces and would be glad to hear any ideas on how to do so. Currently, I'm using the following methods:
- A Python package:
insightface.app.FaceAnalysis - 5-7 processes (until the GPU RAM is full)
- Asynchronous loading of images
- allowed_modules=['recognition', 'detection']
Here are some of my ideas:
- Is it possible to calculate in mini-batches?
- Could I use a more lightweight detector?
Did you find any solution to improve speed?