Ning-Ding / Implementation-CVPR2015-CNN-for-ReID

Implementation for CVPR 2015 Paper: "An Improved Deep Learning Architecture for Person Re-Identification".
MIT License
147 stars 71 forks source link

Choosing images while calculating CMC curves #30

Open klnavaneet opened 6 years ago

klnavaneet commented 6 years ago

Currently, in _get_data_forcmc function in _make_hdf5_formarket1501, Line-80, c1,c2 = np.random.choice(c_list,2), the cameras are selected with replacement. c1 and c2 can be same and will wrongly result in higher accuracies. Shouldn't it be c1,c2 = np.random.choice(c_list,2, replace=False) ?