QVPR / Patch-NetVLAD

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

Changes to detect number of clusters from model file #11

Closed Tobias-Fischer closed 3 years ago

Tobias-Fischer commented 3 years ago

Fix #10

Do not store the number of clusters in a configuration file, which is prone to errors (see #10). Instead read them from the checkpoint. Also check that the PCA dimension in the configuration file matches that of the checkpoint.

Please review and merge @StephenHausler @oravus :)

StephenHausler commented 3 years ago

Ok great, the changes look good