Papers › Torchreid: A Library for Deep Learning Person Re-Identification in Pytorch

Torchreid: A Library for Deep Learning Person Re-Identification in Pytorch

22 Oct 2019arXiv:1910.10093archive 2025-07-28

Kaiyang Zhou, Tao Xiang

Person re-identification (re-ID), which aims to re-identify people across different camera views, has been significantly advanced by deep learning in recent years, particularly with convolutional neural networks (CNNs). In this paper, we present Torchreid, a software library built on PyTorch that allows fast development and end-to-end training and evaluation of deep re-ID models. As a general-purpose framework for person re-ID research, Torchreid provides (1) unified data loaders that support 15 commonly used re-ID benchmark datasets covering both image and video domains, (2) streamlined pipelines for quick development and benchmarking of deep re-ID models, and (3) implementations of the latest re-ID CNN architectures along with their pre-trained models to facilitate reproducibility as well as future research. With a high-level modularity in its design, Torchreid offers a great flexibility to allow easy extension to new datasets, CNN models and loss functions.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1910.10093")

Code

Syntology Ran 1 of 24 code samples harvested from 3 repositories linked to this paper; 23 have no recorded run. Of those that ran: 1 ran · fixture could not drive it.

By repository: official repository: 15 samples from 1 repository, 0 ran; community (archive-listed): 9 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

KaiyangZhou/deep-person-reid officialmentioned in papermentioned on GitHubpytorchMIT report
LeDuySon/torchreid_uet_lab mentioned on GitHubpytorchMIT report
MatthewAbugeja/osnet mentioned on GitHubpytorch report
aslialp/HATCNN mentioned on GitHubpytorch report
hukefei/deep-person-reid-master mentioned on GitHubpytorchMIT report
jacobtyo/mudd mentioned on GitHubpytorch report
openvinotoolkit/deep-object-reid mentioned on GitHubpytorchNOASSERTION report
tomektarabasz/deep_person_reid mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

24 samples harvested; 1 ran; 0 honoured the contract we drafted; 23 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
23unverified

Licence: 0 of the 24 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_model KaiyangZhou/deep-person-reid/projects/OSNet_AIN/osnet_child.py official repository unverified MIT (permissive) · 80c5da68bda0fa8c · report
build_model KaiyangZhou/deep-person-reid/projects/OSNet_AIN/osnet_search.py official repository unverified MIT (permissive) · d81cb662094c9cbf · report
densenet121 KaiyangZhou/deep-person-reid/torchreid/models/densenet.py official repository unverified MIT (permissive) · 8e96abe9674da973 · report
densenet169 KaiyangZhou/deep-person-reid/torchreid/models/densenet.py official repository unverified MIT (permissive) · 54d10942ab6a6650 · report
densenet201 KaiyangZhou/deep-person-reid/torchreid/models/densenet.py official repository unverified MIT (permissive) · 372747120f68c12f · report
imagedata_kwargs KaiyangZhou/deep-person-reid/projects/OSNet_AIN/default_config.py official repository unverified MIT (permissive) · 561c35d94c883194 · report
inceptionresnetv2 KaiyangZhou/deep-person-reid/torchreid/models/inceptionresnetv2.py official repository unverified MIT (permissive) · 968ff7bf292adbec · report
inceptionv4 KaiyangZhou/deep-person-reid/torchreid/models/inceptionv4.py official repository unverified MIT (permissive) · 2bcd3828691ac1d1 · report
mlfn KaiyangZhou/deep-person-reid/torchreid/models/mlfn.py official repository unverified MIT (permissive) · b52023dd659c7a90 · report
mobilenetv2_x1_0 KaiyangZhou/deep-person-reid/torchreid/models/mobilenetv2.py official repository unverified MIT (permissive) · 85b4bac4b8d2c9e4 · report
mobilenetv2_x1_4 KaiyangZhou/deep-person-reid/torchreid/models/mobilenetv2.py official repository unverified MIT (permissive) · 92bf5ac4db6e8f28 · report
optimizer_kwargs KaiyangZhou/deep-person-reid/projects/OSNet_AIN/default_config.py official repository unverified MIT (permissive) · d3e1b4b879ea0786 · report
osnet_ain_x1_0 KaiyangZhou/deep-person-reid/projects/OSNet_AIN/osnet_child.py official repository unverified MIT (permissive) · f3256be9107fa785 · report
osnet_nas KaiyangZhou/deep-person-reid/projects/OSNet_AIN/osnet_search.py official repository unverified MIT (permissive) · 3e4d009ac7f89ad8 · report
videodata_kwargs KaiyangZhou/deep-person-reid/projects/OSNet_AIN/default_config.py official repository unverified MIT (permissive) · 0951e0d511f67f90 · report
osnet_x1_0 LeDuySon/torchreid_uet_lab/torchreid/models/osnet.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 326803f4dfec5af1 · report
get_model_name goksenin-uav/torchreid-pip/torchreid/reid_model_factory.py community (archive-listed) unverified MIT (permissive) · cf3733baa04cf0eb · report
get_model_url goksenin-uav/torchreid-pip/torchreid/reid_model_factory.py community (archive-listed) unverified MIT (permissive) · 17d8f4f67ee8c79b · report
init_pretrained_weights LeDuySon/torchreid_uet_lab/torchreid/models/osnet.py community (archive-listed) unverified MIT (permissive) · bd41824b39412f93 · report
init_pretrained_weights LeDuySon/torchreid_uet_lab/torchreid/models/osnet_ain.py community (archive-listed) unverified MIT (permissive) · ab4731d3c81545d9 · report
is_model_in_model_types goksenin-uav/torchreid-pip/torchreid/reid_model_factory.py community (archive-listed) unverified MIT (permissive) · 13b3e79bceca53f3 · report
nasnetamobile LeDuySon/torchreid_uet_lab/torchreid/models/nasnet.py community (archive-listed) unverified MIT (permissive) · 9635afee4069aa90 · report
osnet_ain_x1_0 LeDuySon/torchreid_uet_lab/torchreid/models/osnet_ain.py community (archive-listed) unverified MIT (permissive) · c8a404cc3c90a483 · report
osnet_x0_75 LeDuySon/torchreid_uet_lab/torchreid/models/osnet.py community (archive-listed) unverified MIT (permissive) · 33a8877d1eb68984 · report

Tasks

BenchmarkingPerson Re-Identification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections