This page contains the demo code for our model CAMEL and the package to construct the dataset ExMarket. If you have any problem, please feel free to contact us. My Email address: xKoven@gmail.com
H.-X. Yu, A. Wu, W.-S. Zheng, "Cross-view Asymmetric Metric Learning for Unsupervised Person Re-identification", In ICCV, 2017.
Results on large popular datasets
In the folder ./CAMEL is the DEMO code on the Market-1501 dataset. Please see main.m for details.
Also note that a different MATLAB version may lead to a result that is a little bit different from the result reported in the paper, because of several random procedures in the algorithm and during the testing. The reported result (in this demo, 54.5% rank-1 accuracy for Market-1501) was obtained using MATLAB R2014a.
We also prepared a supervised version of CAMEL in main_supervised.m, which runs much faster than CAMEL and can be a weak baseline in comparison with supervised models.
In the folder ./Feature is the code for feature extraction. Here we provide the pre-trained JSTL model (without fine-tune or domain guided dropout) to extract features for different datasets apart from the test ones. Note that the model was pre-trained using the full training set , i.e., VIPeR, CUHK01, CUHK03, PRID, 3DPeS, i-LIDS and Shinpuhkan.
Our implementation is based on matconvnet: https://github.com/vlfeat/matconvnet
In the folder ./ExMarket is the package which contains the MATLAB code for constructing the ExMarket Dataset and evaluation. To construct the ExMarket dataset, please follow the steps below:
Download the Market-1501 dataset  from http://www.liangzheng.org/Project/project_reid.html
Download the MARS dataset  from http://www.liangzheng.org/Project/project_mars.html
Unzip them to the same directory with IMDBmaking.m, and run IMDBmaking.
If you use the dataset, please kindly cite  and  and our paper .
We also provide a demo for evaluation in main.m. The example feature ''ExMarket_JSTL64.mat'' was extracted using the JSTL model provided in ./Feature . If you use the feature or the model, please also kindly cite .
 L. Zheng, L. Shen, L. Tian, S. Wang, J. Wang, and Q. Tian. Scalable person re-identification: A benchmark. In ICCV, 2015.
 L. Zheng, Z. Bie, Y. Sun, J. Wang, C. Su, S. Wang, and Q. Tian. Mars: A video benchmark for large-scale person re-identification. In ECCV, 2016.
 H.-X. Yu, A. Wu and W.-S. Zheng, "Cross-view Asymmetric Metric Learning for Unsupervised Person Re-identification", In ICCV, 2017.
 T. Xiao, H. Li, W. Ouyang, and X. Wang. Learning deep feature representations with domain guided dropout for person re-identification. In CVPR, 2016.