videturfortuna/vehicle_reid_itsc2023

How to do rerank?

Opened this issue · 1 comments

Hi,
I found the re-ranking function in utils.py but how can I make use of that?
I have already finished training and testing on veri776.
Thank you for your time.

Hi,
I just updated teste.py. Just add flag --re_rank, for example:

python teste.py --path_weights ./weights/Veri776/MBR_4B_LAI/ --re_rank

mAP = 0.920961122545808, CMC1= 0.9803337454795837, CMC5= 0.9862931966781616