Cysu / open-reid

Open source person re-identification library in python
https://cysu.github.io/open-reid/
MIT License
1.34k stars 349 forks source link

Can I know about the rank1 precision of the code?(such as on market1501) #41

Closed YunpengZhai closed 6 years ago

YunpengZhai commented 6 years ago

I have build a similar project for person reid with pytorch? But somehow, my baseline's rank1 precision is not satisfying. So who could tell me the precision of this code, for example, evaluation on market1501 ?

zydou commented 6 years ago

https://github.com/Cysu/open-reid/blob/3293ca79a07ebee7f995ce647aafa7df755207b8/reid/evaluators.py#L82-L98

YunpengZhai commented 6 years ago

@zydou thanks, but what I want to know is the result of evaluation. what precision can it get? thanks!

zydou commented 6 years ago

Calculate mAP: https://github.com/Cysu/open-reid/blob/3293ca79a07ebee7f995ce647aafa7df755207b8/reid/evaluation_metrics/ranking.py#L82-L83

Calculate CMC: https://github.com/Cysu/open-reid/blob/3293ca79a07ebee7f995ce647aafa7df755207b8/reid/evaluation_metrics/ranking.py#L18-L22

Cysu commented 6 years ago

Thank you @zydou for the answer!

Please feel free to reopen the issue if there are any further problems, @YunpengZhai