2020-12-30 16:15:06 +08:00
< img src = ".github/FastReID-Logo.png" width = "300" >
2020-02-10 07:38:56 +08:00
2021-02-01 10:55:24 +08:00
[](https://gitter.im/fast-reid/community?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge)
Gitter: [fast-reid/community ](https://gitter.im/fast-reid/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link )
2021-06-14 11:34:36 +08:00
FastReID is a research platform that implements state-of-the-art re-identification algorithms. It is a ground-up rewrite of the previous version, [reid strong baseline ](https://github.com/michuanhaohao/reid-strong-baseline ).
2020-02-10 07:38:56 +08:00
2020-05-28 20:01:20 +08:00
## What's New
2020-02-18 21:01:23 +08:00
2021-07-05 11:10:37 +08:00
- [June 2021] [Contiguous parameters ](https://github.com/PhilJd/contiguous_pytorch_params ) is supported, now it can
accelerate ~20%.
2021-05-31 18:33:48 +08:00
- [May 2021] Vision Transformer backbone supported, see `configs/Market1501/bagtricks_vit.yml` .
2021-04-06 20:09:13 +08:00
- [Apr 2021] Partial FC supported in [FastFace ](projects/FastFace )!
2021-01-30 16:11:08 +08:00
- [Jan 2021] TRT network definition APIs in [FastRT ](projects/FastRT ) has been released!
Thanks for [Darren ](https://github.com/TCHeish )'s contribution.
2021-01-29 17:25:31 +08:00
- [Jan 2021] NAIC20(reid track) [1-st solution ](projects/NAIC20 ) based on fastreid has been released!
2021-07-05 11:10:37 +08:00
- [Jan 2021] FastReID V1.0 has been released! 🎉
Support many tasks beyond reid, such image retrieval and face recognition. See [release notes ](https://github.com/JDAI-CV/fast-reid/releases/tag/v1.0.0 ).
2021-01-29 17:25:31 +08:00
- [Oct 2020] Added the [Hyper-Parameter Optimization ](projects/FastTune ) based on fastreid. See `projects/FastTune` .
- [Sep 2020] Added the [person attribute recognition ](projects/FastAttr ) based on fastreid. See `projects/FastAttr` .
2021-01-18 11:44:55 +08:00
- [Sep 2020] Automatic Mixed Precision training is supported with `apex` . Set `cfg.SOLVER.FP16_ENABLED=True` to switch it on.
2021-01-29 17:25:31 +08:00
- [Aug 2020] [Model Distillation ](projects/FastDistill ) is supported, thanks for [guan'an wang ](https://github.com/wangguanan )'s contribution.
2020-07-29 17:43:39 +08:00
- [Aug 2020] ONNX/TensorRT converter is supported.
2020-07-06 17:04:21 +08:00
- [Jul 2020] Distributed training with multiple GPUs, it trains much faster.
2020-05-29 11:19:22 +08:00
- 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.
2021-01-29 17:25:31 +08:00
- Can be used as a library to support [different projects ](projects ) on top of it. We'll open source more research projects in this way.
2020-07-06 17:04:21 +08:00
- Remove [ignite ](https://github.com/pytorch/ignite )(a high-level library) dependency and powered by [PyTorch ](https://pytorch.org/ ).
2020-05-28 20:01:20 +08:00
2021-05-11 15:46:17 +08:00
We write a [fastreid intro ](https://l1aoxingyu.github.io/blogpages/reid/fastreid/2020/05/29/fastreid.html )
and [fastreid v1.0 ](https://l1aoxingyu.github.io/blogpages/reid/fastreid/2021/04/28/fastreid-v1.html ) about this toolbox.
2020-05-28 20:01:20 +08:00
2021-01-29 17:25:31 +08:00
## Changelog
Please refer to [changelog.md ](CHANGELOG.md ) for details and release history.
2020-05-28 20:01:20 +08:00
## Installation
2020-02-10 07:38:56 +08:00
2021-01-29 17:25:31 +08:00
See [INSTALL.md ](INSTALL.md ).
2020-02-18 21:01:23 +08:00
2020-05-28 20:01:20 +08:00
## Quick Start
The designed architecture follows this guide [PyTorch-Project-Template ](https://github.com/L1aoXingyu/PyTorch-Project-Template ), you can check each folder's purpose by yourself.
2020-02-18 21:01:23 +08:00
2021-01-29 17:25:31 +08:00
See [GETTING_STARTED.md ](GETTING_STARTED.md ).
2020-02-18 21:01:23 +08:00
2021-01-29 17:25:31 +08:00
Learn more at out [documentation ](https://fast-reid.readthedocs.io/ ). And see [projects/ ](projects ) for some projects that are build on top of fastreid.
2020-02-10 07:38:56 +08:00
2020-02-11 22:38:40 +08:00
## Model Zoo and Baselines
2020-03-31 14:37:24 +08:00
2021-01-29 17:25:31 +08:00
We provide a large set of baseline results and trained models available for download in the [Fastreid Model Zoo ](MODEL_ZOO.md ).
2020-05-29 10:33:21 +08:00
2020-06-02 18:11:02 +08:00
## Deployment
2021-01-29 17:25:31 +08:00
We provide some examples and scripts to convert fastreid model to Caffe, ONNX and TensorRT format in [Fastreid deploy ](tools/deploy ).
2020-06-02 18:11:02 +08:00
2020-05-29 10:33:21 +08:00
## License
2021-01-29 17:25:31 +08:00
Fastreid is released under the [Apache 2.0 license ](LICENSE ).
2020-06-02 18:11:02 +08:00
2021-01-29 17:25:31 +08:00
## Citing FastReID
2020-06-02 18:11:02 +08:00
2021-01-29 17:25:31 +08:00
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.
2020-06-07 18:45:28 +08:00
```BibTeX
2020-06-26 23:18:47 +08:00
@article {he2020fastreid,
2020-06-26 23:19:35 +08:00
title={FastReID: A Pytorch Toolbox for General Instance Re-identification},
2020-06-26 23:18:47 +08:00
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}
2020-06-07 18:45:28 +08:00
}
```