Code Monkey home page Code Monkey logo

2016_person_re-id's Introduction

A Discriminatively Learned CNN Embedding for Person Re-identification

In this package, we provide our training and testing code written in Matconvnet for the paper [A Discriminatively Learned CNN Embedding for Person Re-identification] (https://arxiv.org/abs/1611.05666).

We also include matconvnet-beta23 which has been modified for our paper. All codes have been test on Ubuntu14.04 and Ubuntu16.04 with Matlab R2015b.

#Dataset Download [Market1501 Dataset] (http://www.liangzheng.org/Project/project_reid.html)

#To Test

  1. Use start-zzd.sh to start matlab. (You need to add your CUDA path in it. Then just type ./start-zzd.sh to run it.)

  2. Compile matconvnet. (You just need to uncomment and modify some lines in gpu_compile.m and run it. Try it~) If you fail in compilation, you may refer to http://www.vlfeat.org/matconvnet/install/

  3. After compilation, run test2/test_gallery_res.m to extract the features of gallery. They will store in a .mat file. You can use it to do evaluation. (For example, you may modify the Market1501 baseline code to evaluate our model. It may take a while.)

#To Train

  1. Compile matconvnet. If you fail in compilation, you can refer to http://www.vlfeat.org/matconvnet/install/

  2. Add your dataset path into prepare_data.m and run it. Make sure the code outputs the right image path.

  3. Run train_id_net_res_2stream.m to have fun.

Citation

Please cite this paper in your publications if it helps your research:

@article{zheng2016discriminatively,
  title={A Discriminatively Learned CNN Embedding for Person Re-identification},
  author={Zheng, Zhedong and Zheng, Liang and Yang, Yi},
  journal={arXiv preprint arXiv:1611.05666},
  year={2016}
}

#Thanks Thanks for Xuanyi Dong to realize our paper in Caffe.

Thanks for Weihang Chen to report the bug in prepare_data.m.

2016_person_re-id's People

Contributors

layumi avatar

Watchers

James Cloos avatar hsdong2012 avatar paper2code - bot 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.