GithubHelp home page GithubHelp logo

uestcwcw / mgn-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seathiefwang/mgn-pytorch

0.0 0.0 0.0 27 KB

Reproduction of paper: Learning Discriminative Features with Multiple Granularities for Person Re-Identification

Shell 10.88% Python 89.12%

mgn-pytorch's Introduction

Multiple Granularity Network

Reproduction of paper:Learning Discriminative Features with Multiple Granularities for Person Re-Identification

Dependencies

  • Python >= 3.5
  • PyTorch >= 0.4.0
  • TorchVision
  • Matplotlib
  • Argparse
  • Sklearn
  • Pillow
  • Numpy
  • Scipy
  • Tqdm

Train

Prepare training data

Download Market1501 training data.here

Begin to train

In the demo.sh file, add the Market1501 directory to --datadir

run sh demo.sh

Result

mAP rank1 rank3 rank5 rank10
2018-7-22 92.17 94.60 96.53 97.06 98.01
2018-7-24 93.53 95.34 97.06 97.68 98.49
last 93.83 95.78 97.21 97.83 98.43

Download model file in here

The architecture of Multiple Granularity Network (MGN)

Multiple Granularity Network

Figure . Multiple Granularity Network architecture.

@ARTICLE{2018arXiv180401438W,
    author = {{Wang}, G. and {Yuan}, Y. and {Chen}, X. and {Li}, J. and {Zhou}, X.},
    title = "{Learning Discriminative Features with Multiple Granularities for Person Re-Identification}",
    journal = {ArXiv e-prints},
    archivePrefix = "arXiv",
    eprint = {1804.01438},
    primaryClass = "cs.CV",
    keywords = {Computer Science - Computer Vision and Pattern Recognition},
    year = 2018,
    month = apr,
    adsurl = {http://adsabs.harvard.edu/abs/2018arXiv180401438W},
    adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

mgn-pytorch's People

Contributors

seathiefwang 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.