HanjiangHu / DASGIL

Code and pretrained models for our TIP work "DASGIL: Domain Adaptation for Semantic and Geometric-aware Image-based Localization".
24 stars 7 forks source link

Testing #6

Closed Zumbalamambo closed 1 year ago

Zumbalamambo commented 3 years ago

How do I test it on a single image query?

HanjiangHu commented 3 years ago

Thanks for your interest in our work. To test the model given a single query image, the reference database images should be first encoded to build a feature database. Then the query image can be encoded for representation feature retrieval from the feature database with the maximum similarity. The detailed implementation is similar to test.py for the Extended CMU-Seasons dataset.