# KaiyangZhou/deep-person-reid

Torchreid: Deep learning person re-identification in PyTorch.

Repository: https://github.com/KaiyangZhou/deep-person-reid
Canonical: https://ross.abutalabs.com/products/deep-person-reid
Homepage: https://kaiyangzhou.github.io/deep-person-reid/
Language: Python
License: MIT
License Family: permissive
Topics: deep-learning, pytorch, computer-vision, machine-learning, deep-neural-networks, person-reidentification, person-reid, image-retrieval, re-ranking, metric-learning, cross-domain
Last push: 2026-01-09T05:23:24+00:00

## Health v2 (maintenance only)
Score: 50/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 61, release rhythm 8, longevity 100
- inputs: {"age_days": 3097, "days_push": 236, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4900, forks 1215 (observed 2026-08-28T04:09:02.089552+00:00)

## What it is
Torchreid is a PyTorch library for deep-learning person re-identification, supporting both image and video reid with end-to-end training and evaluation. It includes state-of-the-art models like OSNet, pretrained model zoo access, multi-dataset training, and export to ONNX/OpenVINO/TFLite.

## Use cases
- train a person re-identification model in PyTorch
- evaluate reid models on standard benchmarks
- download pretrained OSNet weights for person reid
- run cross-dataset person re-identification evaluation
- extract person appearance embeddings for tracking
- export a reid model to ONNX or OpenVINO

## When to choose
- you need person re-identification for surveillance, tracking, or image retrieval
- you want reproducible standard reid research protocols and pretrained models
- you need both image and video reid with multi-GPU training

## When to avoid
- you need general object detection or classification rather than person reid
- you are not working in the PyTorch ecosystem
- you need a production-ready turnkey person search system with no ML experience

## Facets
- artifact type: library
- maturity: stable
- function: deep-learning, machine-learning, image-processing, computer-vision, benchmarking
- domain: computer-vision, deep-learning, machine-learning, image-processing
- platform: python, cross-platform
- tags: person-reidentification, pytorch, metric-learning, re-ranking, osnet, model-zoo, video-reid, cross-domain, gpu

## Member repositories
- KaiyangZhou/deep-person-reid (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:02.089552+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:09.023740+00:00, confidence not recorded.
  - readme: https://github.com/KaiyangZhou/deep-person-reid (fetched 2026-08-28T04:09:02.089552+00:00, sha f38e27512a59)
  - homepage: https://kaiyangzhou.github.io/deep-person-reid/ (fetched 2026-08-29T09:00:19.770986+00:00, sha 8a45327fb69c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
