Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bath v2: Get face descriptors only when needed in batches #768

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

matiasdelellis
Copy link
Owner

It's a small change, which was in consideration for a long time, but I needed to try it.. 🙈 😅

In my tests with 37128 faces and a batch size of 5000 it improves
memory consumption by 38,81%.

I guess we can celebrate a little. 🎉 😉

There are no significant advantages beyond improving the code, but
I do this in preparation for the next commit.
In my tests with 37128 faces and a batch size of 5000 it improves
memory consumption by 38,81%.

I guess we can celebrate a little. 🎉 😉
In my tests this improves memory consumption by another 3.14%. In
total against version 0.9.51 we achieved an improvement of 41.89%.
1.10 % less memory, totaling 42,99 % reduction..
@matiasdelellis matiasdelellis merged commit a3fb7fe into master Oct 1, 2024
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant