PersonReID-Baseline-ResNet50
The widely used ResNet-50 softmax baseline for person re-identification, small enough for a 2GB GPU.
Detection and tracking · 178 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 27M
- Operations
- 178
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR (arXiv 2019)
- Cited by
- 899 (as of 18 October 2026)
- Authors
- Zhedong Zheng, Xiaodong Yang, Zhiding Yu and others
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m2173
- Graph hash
- 4d7cc9f547db3fa8e0b884ca696b46b8710dd3bfc63e68b754624bd8a3cc952d
- Skeleton hash
- 3d4549144b6e92e5c310033f3bb9baf67bb6b220041901b581f56a0328b51b6a
- Architecture hash
- 3bc0b5b82db6fd0a0211d51a0232c17f98578425389eee49dcb080fa6af74967
- Diagram SHA-256
- 0d3c8d2a538dcd62d5ffd05bd63cff71df39b2af04e408c0be789000d6c00cf8
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This is the ResNet-50 person re-identification baseline from the Person_reID_baseline_pytorch repository, which calls itself a tiny, friendly, strong baseline for object re-ID maintained since 2017. Person re-identification means matching the same person across different cameras, which stays hard because of large intra-class variation. The repository's claim is that this baseline is consistent with the baseline numbers in several top-conference works, including the DG-Net paper on joint discriminative and generative learning. With softmax loss alone it reaches Rank@1 of 88.24% and mAP of 70.68%.
The plain ResNet-50 row in the results table reports 88.84% Rank@1 and 71.59% mAP. The code is small as well: with bf16 or fp16 the baseline trains in only 2GB of GPU memory.
The paper saved with this family, DG-Net, goes further and couples re-id learning and data generation end-to-end. Its generative module encodes each person into an appearance code and a structure code, and its discriminative module shares the appearance encoder. The traced member is only a discriminative baseline, not that generative pipeline, and DG-Net's gains are reported relative to such a baseline trained without generated data. The repository also supports a Swin transformer backbone, at 92.73% Rank@1 and 79.71% mAP.
Key idea. A small, strong ResNet-50 softmax baseline for person re-identification that matches the baseline numbers used in several top-conference papers.
- person reid baseline
- person_reid_baseline_pytorch
- ft_net
- reid
- person re-identification
- market-1501
- resnet-50 reid
- layumi baseline
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zheng2021jointdiscriminativegenerativelearning,
title={Joint Discriminative and Generative Learning for Person Re-identification},
author={Zhedong Zheng and Xiaodong Yang and Zhiding Yu and Liang Zheng and Yi Yang and Jan Kautz},
year={2021},
eprint={1904.07223},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1904.07223},
}