Giter Site home page Giter Site logo

group_reid's Introduction

Introduction

This repo contains the codebase of our TPAMI 2020 paper: Learning Multi-Attention Context Graph for Group-Based Re-Identification.

Installation

We use python 3.7 and pytorch=1.0.1 torchvision=0.2.1

Data preparation

All experiments are done on CSG. Please download CUHK-SYSU.

Original dataset webpage: CUHK-SYSU Person Search Dataset or JDE dataset zoo

The group annotation files are in ./data

Usage

To train the model, please run

python main_group_gcn_siamese_part_half_fulltest_sink.py --data-root [data path] --max-epoch 300 --stepsize 100 --eval-step 300 --gpu-devices 0

An example can be found in run_train_test.sh

To evaluate the trained model, run

python main_group_gcn_siamese_part_half_fulltest_sink.py --data-root [data path] --evaluate True --gpu-devices 0 --pretrained-model [model path]

Performance

Task Rank1 mAP
Group re-id 65.5% 67.0%
Person re-id 65.1% 64.2%

Link of the trained model: [Google]

Acknowledgements

Our code is developed based on Video-Person-ReID (https://github.com/jiyanggao/Video-Person-ReID).

Citation

If you find this repo useful in your project or research, please consider citing it:

@ARTICLE{9233968,
  author={Y. {Yan} and J. {Qin} and B. {Ni} and J. {Chen} and L. {Liu} and F. {Zhu} and W. -S. {Zheng} and X. {Yang} and L. {Shao}},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence}, 
  title={Learning Multi-Attention Context Graph for Group-Based Re-Identification}, 
  year={2020},
  doi={10.1109/TPAMI.2020.3032542}}
}

group_reid's People

Contributors

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