MubarizZaffar / VPR-Bench

This repository contains the codebase and all the relevant information for our IJCV paper on VPR-Bench: An open-source Visual Place Recognition Evaluation Framework
MIT License
126 stars 17 forks source link

How to calculate PrecisionRateAtN? #14

Closed MAX-OTW closed 1 year ago

MAX-OTW commented 1 year ago

Hi , @MubarizZaffar @oravus ,thank you very much for your work. https://github.com/MubarizZaffar/VPR-Bench/blob/77ad30f3684476717188c67d7f3f66be19f832af/performance_comparison.py#L71C1-L104C1, this is the code for calculating RecallRateAtN, I would like to ask you how to calculate PrecisionRateAtN?I tried several times, but failed. Can you provide the relevant code? note this: Recall@N=TP@N/(TP@N+ FN@N);Precision@N=TP@N/(TP@N+ FP@N) Hope to receive your reply soon :) Thanks & Best Regards!