@@ -46,15 +46,15 @@ Early work on person re-identification mainly focused on hand-designed feature e
| :---------- | :----: | :----: | :---: |
| VIPeR | 632 | 1264 | 2 |
| iLIDS | 119 | 476 | 2 |
| GRID | 250 | 1275 | 2 |
| GRID | 250 | 1275 | 8 |
| PRID2011 | 200 | 1134 | 2 |
| CUHK01 | 971 | 3884 | 2 |
| CUHK02 | 1816 | 7264 | 2 |
| CUHK02 | 1816 | 7264 | 10 |
| CUHK03 | 1467 | 13164 | 2 |
| Market-1501 | 1501 | 32668 | 2 |
| DukeMTMC | 1404 | 36411 | 2 |
| Airport | 39902 | 39902 | 2 |
| MSMT17 | 126441 | 126441 | 2 |
| Market-1501 | 1501 | 32668 | 6 |
| DukeMTMC | 1404 | 36411 | 8 |
| Airport | 39902 | 39902 | 6 |
| MSMT17 | 126441 | 126441 | 15 |
#### 2.2 Common metric
...
...
@@ -209,6 +209,45 @@ Prepare the `*.pdparams` model parameter file for evaluation. You can use the tr
```
The default evaluation log is saved in `PaddleClas/output/RecModel/eval.log`. You can see that the evaluation indicators of the `softmax_triplet_with_center_pretrained.pdparams` model provided by us on the Market1501 dataset are recall@1=0.94507, recall@5=0.98248 , mAP=0.85827
- use the re-ranking option to improve the evaluation metrics
The main idea of re-ranking is to use the relationship between the retrieval libraries to further optimize the retrieval results, and the k-reciprocal algorithm is widely used. Turn on re-ranking during evaluation in PaddleClas to improve the final retrieval accuracy.
This can be enabled by adding `-o Global.re_ranking=True` to the evaluation command as shown below.
It can be seen that after re-ranking is enabled, the evaluation indicators are recall@1=0.95546, recall@5=0.97743, and mAP=0.94252. It can be found that the algorithm improves the mAP indicator significantly (0.85827->0.94252).
**Note**: The computational complexity of re-ranking is currently high, so it is not enabled by default.