QVPR / Patch-NetVLAD

Code for the CVPR2021 paper "Patch-NetVLAD: Multi-Scale Fusion of Locally-Global Descriptors for Place Recognition"
MIT License
510 stars 72 forks source link

Fix bounds on faiss search to never go out of bounds #73

Closed doraemon96 closed 1 year ago

doraemon96 commented 1 year ago

Fixes #72 where the bounds on the search function could cause it to have insufficient elements to return if the feature database was smaller than the query database.

Tobias-Fischer commented 1 year ago

Thanks @doraemon96!