Open rrryan2016 opened 3 years ago
After I training on Market1501, the evaluation results turn to be,
=========> Test on dataset: market1501 <========= Extracting feature... 1000/1000 batches done, +0.58s, total 30.42s Done, 30.58s Computing global distance... Done, 0.52s Computing scores for Global Distance... [mAP: 50.04%], [cmc1: 0.00%], [cmc5: 0.24%], [cmc10: 0.24%] Done, 5.63s Re-ranking... Done, 39.60s Computing scores for re-ranked Global Distance... [mAP: 50.04%], [cmc1: 0.00%], [cmc5: 0.24%], [cmc10: 0.24%] Done, 6.17s
If I change the renset50 to Densenet121, and do training, it comes out like,
Extracting feature... 1000/1000 batches done, +0.77s, total 39.60s Done, 39.70s Computing global distance... Done, 0.45s Computing scores for Global Distance... [mAP: 50.05%], [cmc1: 0.00%], [cmc5: 0.24%], [cmc10: 0.24%] Done, 5.92s Re-ranking... ./aligned_reid/utils/re_ranking.py:45: RuntimeWarning: invalid value encountered in divide original_dist = np.transpose(1. * original_dist/np.max(original_dist,axis = 0)) Done, 42.30s
Thanks for your great work and kind sharing.
I am actually a beginner in ReID, and trying to reproduce the test stage of this repo at first.
Environment: 3090Ti, CUDA 11.0, python 2.7, pytorch 0.3.1
I strictly follow the guidance on README, but get below result for
ResNet-50 + Global Loss on Market1501
In detail, I downloaded transformed Market1501 by the google drive link you provided, and configure corresponding codes in
__init__.py
as stated in https://github.com/huanghoujing/AlignedReID-Re-Production-Pytorch#configure-dataset-path.Then, I downloaded saved model weights of both ResNet-50 + Global Loss with or without mutual learning in the google drive link.
Here is the detailed command and result for
ResNet-50 + Global Loss + Mutual Learning on Market1501
setting:and all the output
Any recommendation for what to do next? :P
Thanks in advance.