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

A new forward_distmat method to accelerate distance matrix computing among images. #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 23, 2022

  1. Add another forward function to compute distance matrix with one or t…

    …wo stack of images.
    
    Rationale: It reuses the features computed for images, so it largely accelerates the speed of computing a large distance matrix among a set of images.
    Memory usage. We choose to compute the matrix row by row, such that the memory footprint shall be still linear in the number of images instead of quadratic.
    TODO: it could be extended to compute a few rows in a batch. Batch size need to be choose w.r.t. memory
    Animadversio committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    9e7d938 View commit details
    Browse the repository at this point in the history