Giter Site home page Giter Site logo

caomw / salience_reid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robert0812/salience_reid

0.0 1.0 0.0 48.63 MB

MATLAB code for our CVPR 2013 work "R. Zhao, W. Ouyang, and X. Wang. Unsupervised Salience Learning for Person Re-identification. In CVPR 2013."

Home Page: http://mmlab.ie.cuhk.edu.hk/projects/project_salience_reid/index.html

MATLAB 39.91% C++ 44.99% C 15.10%

salience_reid's Introduction

#Unsupervised Salience Learning for Person Re-identification

MATLAB code for our CVPR 2013 work "R. Zhao, W. Ouyang, and X. Wang. Unsupervised Salience Learning for Person Re-identification. In CVPR 2013."

Created by Rui Zhao, on May 20, 2013.

##Summary In this package, you find an updated version of MATLAB code for the following paper: Rui Zhao, Wanli Ouyang, and Xiaogang Wang. Unsupervised Salience Learning for Person Re-identification. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2013.

##Install

  • Download VIPeR dataset, and put the subfolders (\cam_a and \cam_b) into directory .\dataset\viper\
  • Download ETHZ dataset, and put the subfolders (\seq1, \seq2, and \seq3) into directory .\dataset\ethz\
  • Compile patchmatch component: go to directory ./code/patchmatch and run mex *.cpp in Matlab
  • Compile LibSVM: go to directory ./code/libsvm, and run make.m in Matlab
  • If you are running on Linux or OS X system, slash characters in following files should be changed from '' to '/' accordingly: ./code/norm_data.m, ./code/initialcontext_general.m, ./set_paths.m, ./demo_salience_reid_viper.m, ./demo_salience_reid_ethz.m

##Demos Two demos are available for reproducing the results.

  • demo_salience_reid_viper.m : perform evaluation over VIPeR dataset
  • demo_salience_reid_ethz.m : perform evaluation over ETHZ dataset (including Seq.1, Seq.2, and Seq.3).

##Remarks

  • This implementation is a little different than the original version in the training / testing partition, so that the result may vary a little, if you use the default settings and parameters, you are supposed to obtain the rank-1 matching rate for the trial 1 on VIPeR dataset: 25.32% (SDC_knn) and 27.22% (SDC_ocsvm).
  • The training / testing partition is generated following the approach SDALF
  • Parallel Toolbox can accellerate the computation, use matlabpool if necessary
  • This demo was tested on MATLAB (R2010b), 64-bit Win7, Intel Xeon 3.30 GHz CPU
  • Memory cost:
    • Running demo on VIPeR dataset would consume around 1.0 GB memory
      • Running demo on ETHZ (seq1) dataset would consume around 5.0 GB memory
      • Running demo on ETHZ (seq2) dataset would consume around 1.6 GB memory
      • Running demo on ETHZ (seq3) dataset would consume around 1.4 GB memory

##Additional Libs We provide with our package some additional libraries we used in our implementation.

##Citing our work Please kindly cite our work in your publications if it helps your research:

@inproceedings{zhao2013unsupervised,
	title = {Unsupervised Salience Learning for Person Re-identification},
	author={Zhao, Rui and Ouyang, Wanli and Wang, Xiaogang},
	booktitle = {IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
	year = {2013}
}

##Acknoledgement

This work is supported by the General Research Fund sponsored by the Research Grants Council of Hong Kong (Project No. CUHK 417110 and CUHK 417011) and National Natural Science Foundation of China (Project No. 61005057).

##License

Copyright (c) 2013, Rui Zhao
All rights reserved. 

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are 
met:
		* Redistributions of source code must retain the above copyright 
  		  notice, this list of conditions and the following disclaimer.
		* Redistributions in binary form must reproduce the above copyright 
  		  notice, this list of conditions and the following disclaimer in 
  		  the documentation and/or other materials provided with the distribution

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 	
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
POSSIBILITY OF SUCH DAMAGE.

salience_reid's People

Contributors

robert0812 avatar

Watchers

曹明伟,Mingwei Cao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.