Giter VIP home page Giter VIP logo

amd.github.io's Introduction

Interpreter Project of FastReID

FastReID is a research platform that implements state-of-the-art re-identification algorithms. It is a groud-up rewrite of the previous version, reid strong baseline.

Our Interpreter Project is based on FastReID

What's New

  • [Oct 2021] Quick Start of Interpreter Project.
  • [Sep 2020] Automatic Mixed Precision training is supported with pytorch1.6 built-in torch.cuda.amp. Set cfg.SOLVER.AMP_ENABLED=True to switch it on.
  • [Aug 2020] Model Distillation is supported, thanks for guan'an wang's contribution.
  • [Aug 2020] ONNX/TensorRT converter is supported.
  • [Jul 2020] Distributed training with multiple GPUs, it trains much faster.
  • [Jul 2020] MAX_ITER in config means epoch, it will auto scale to maximum iterations.
  • Includes more features such as circle loss, abundant visualization methods and evaluation metrics, SoTA results on conventional, cross-domain, partial and vehicle re-id, testing on multi-datasets simultaneously, etc.
  • Can be used as a library to support different projects on top of it. We'll open source more research projects in this way.
  • Remove ignite(a high-level library) dependency and powered by PyTorch.

We write a chinese blog about this toolbox.

Installation

See INSTALL.md and INSTALL_for_interpreter.md.

Quick Start

The designed architecture follows this guide PyTorch-Project-Template, you can check each folder's purpose by yourself.

See GETTING_STARTED.md.

Learn more at out documentation. And see projects/ for some projects that are build on top of fastreid.

Requirements of Computer Hardware

GPU>=16GB memory

RAM>=128GB memory

Quick Start of Interpreter Project

Step 0, modify the PATH in the shell script to suit your computer.

Step 1, train ReID model:

bash shell/Market1501/0_train_market_bagtricks_euclidean.sh

Ps: release model on Market1501

Step 2, train Interpreter model:

bash shell/Market1501/1_train_market_interpretation.sh

Attention of Interpreter Project

In order to solve the requirements of demo, after several update iterations, the code of this version adds some functions, backbone for demo and Loss for specific datasets on the basis of the framework of our paper.

For the slightly inconsistent parts between this code and paper description, please feel free to use, it does not affect the final performance.

Samples of Visualization


Positive Mask


Negative Mask


Person Sample

Model Zoo and Baselines

We provide a large set of baseline results and trained models available for download in the Fastreid Model Zoo.

Deployment

We provide some examples and scripts to convert fastreid model to Caffe, ONNX and TensorRT format in Fastreid deploy.

License

Fastreid is released under the Apache 2.0 license.

Citing Fastreid

If you use Fastreid in your research or wish to refer to the baseline results published in the Model Zoo, please use the following BibTeX entry.

@inproceedings{chen2021AMD,
  title={Explainable Person Re-Identification with Attribute-guided Metric Distillation},
  author={Chen, Liu and Liu, Zhang and Zhang, Mei},
  booktitle={IEEE International Conference on Computer Vision (ICCV)},
  year={2021}
}

@article{he2020fastreid,
  title={FastReID: A Pytorch Toolbox for General Instance Re-identification},
  author={He, Lingxiao and Liao, Xingyu and Liu, Wu and Liu, Xinchen and Cheng, Peng and Mei, Tao},
  journal={arXiv preprint arXiv:2006.02631},
  year={2020}
}

amd.github.io's People

Contributors

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