#205205th of 206 in ML frameworks and libraries

deep-person-reid

PyTorch library for training and evaluating person re-identification models

Stars
4.9k
License
MIT
Last commit
Jan 2026
Last release
Oct 2019
Language
Python
Stars, last 29 weeks+151
22 Apr 2026: 4,793 stars29 Apr 2026: 4,799 stars6 May 2026: 4,804 stars13 May 2026: 4,812 stars20 May 2026: 4,815 stars27 May 2026: 4,818 stars3 Jun 2026: 4,824 stars10 Jun 2026: 4,831 stars17 Jun 2026: 4,835 stars24 Jun 2026: 4,841 stars1 Jul 2026: 4,843 stars8 Jul 2026: 4,851 stars15 Jul 2026: 4,861 stars22 Jul 2026: 4,870 stars29 Jul 2026: 4,877 stars5 Aug 2026: 4,881 stars12 Aug 2026: 4,886 stars19 Aug 2026: 4,892 stars26 Aug 2026: 4,895 stars2 Sept 2026: 4,899 stars9 Sept 2026: 4,900 stars16 Sept 2026: 4,904 stars23 Sept 2026: 4,910 stars30 Sept 2026: 4,914 stars7 Oct 2026: 4,918 stars14 Oct 2026: 4,924 stars21 Oct 2026: 4,928 stars28 Oct 2026: 4,934 stars4 Nov 2026: 4,938 stars11 Nov 2026: 4,944 stars

4,793 on 22 Apr 20264,944 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Torchreid is a PyTorch library for person re-identification, covering both image and video re-ID. It provides data managers for datasets such as Market1501, CUHK03, MSMT17 and MARS, plus implementations of ReID models including OSNet, OSNet-AIN, PCB, HACNN and MLFN, and ImageNet backbones like ResNet. Training runs from Python code or a config-driven script, with multi-GPU, cross-dataset evaluation and export to ONNX, OpenVINO and TFLite.

Who it is for: Computer vision researchers and engineers building person re-ID models

Strengths

  • Many standard re-ID datasets, image and video, with multi-dataset training and cross-dataset evaluation
  • Includes OSNet and OSNet-AIN plus other ReID and ImageNet backbones, with a pretrained model zoo
  • Feature extractor API and export script for ONNX, OpenVINO and TFLite
  • YAML configs and scripts/main.py give a reproducible train and test interface

Weaknesses

  • Last release is v1.4.0 from 2019-10-23 per tracker data; README install targets Python 3.7
  • Install guide pins cudatoolkit=9.0 with conda, which is outdated for current GPUs
  • Research-oriented: no inference server or tracking pipeline, only training, evaluation and feature extraction
  • Datasets must be downloaded and prepared separately; some model weights are hosted on Google Drive

What it needs

  • GPU optional
  • Docker
  • Needs PyTorch, torchvision, conda, Cython
  • Models: OSNet, OSNet-AIN, ResNet, PCB, HACNN

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in ML frameworks and libraries

See all 206
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.9k stars+1,573 (+0.9%) in 30 daysApache-2.094 out of 100
2ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,004 (+1.6%) in 30 daysAGPL-3.094 out of 100
3pytorchPython tensor library with GPU support and tape-based autograd105.5k stars+1,036 (+1.0%) in 30 dayscustom license93 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+107 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+521 (+1.0%) in 30 daysMIT92 out of 100