Skip to content

Commit 1672fbb

Browse files
authored
Merge pull request #32 from VisualComputingInstitute/sklearn-note
Add sklearn version note to README.
2 parents fdfaf56 + 2b8fb3d commit 1672fbb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,20 @@ All this is taken care of by `excluders`.
259259
We provide one for the Market1501 dataset, and a `diagonal` one, which should be used where there is no such restriction,
260260
for example the Stanford Online Products dataset.
261261

262+
# :exclamation: Important evaluation NOTE :exclamation:
263+
264+
The implementation of `mAP` computation has [changed from sklearn v0.18 to v0.19](http://scikit-learn.org/stable/whats_new.html#version-0-19).
265+
The implementation in v0.18 and earlier is exactly the same as in the official Market1501 MATLAB evaluation code, but is [wrong](https://github.com/scikit-learn/scikit-learn/pull/7356).
266+
The implementation in v0.19 and later leads to a roughly one percentage point increase in `mAP` score.
267+
It is not correct to compare values across versions, and again, all values in our paper were computed by the official Market1501 MATLAB code.
268+
The evaluation code in this repository simply uses the scikit-learn code, and thus **the score depends on which version of scikit-learn you are using**.
269+
Unfortunately, almost no paper mentions which code-base they used and how they computed `mAP` scores, so comparison is difficult.
270+
Other frameworks have [the same problem](https://github.com/Cysu/open-reid/issues/50), but we expect many not to be aware of this.
271+
262272
# Independent re-implementations
263273

264274
These are the independent re-implementations of our paper that we are aware of,
265275
please send a pull-request to add more:
266276

267277
- [Open-ReID](https://github.com/Cysu/open-reid) (PyTorch, MIT license)
278+
- https://github.com/huanghoujing/person-reid-triplet-loss-baseline (PyTorch, no license)

0 commit comments

Comments
 (0)