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

Commits on Jul 30, 2024

  1. Separates clustering of faces that are not groupable.

    There are no significant advantages beyond improving the code, but
    I do this in preparation for the next commit.
    matiasdelellis committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    201b8c8 View commit details
    Browse the repository at this point in the history
  2. Get face descriptors only when needed in batches.

    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. 🎉 😉
    matiasdelellis committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    221ea52 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Use raw arrays instead of entities to get face indices.

    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%.
    matiasdelellis committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    35eb454 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. The same but to batched descriptors..

    1.10 % less memory, totaling 42,99 % reduction..
    matiasdelellis committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    efb7a8c View commit details
    Browse the repository at this point in the history