layumi/Person_reID_baseline_pytorch
:bouncing_ball_person: Pytorch ReID: A tiny, friendly, strong pytorch implement of person re-id / vehicle re-id baseline. Tutorial 👉https://github.com/layumi/Person_reID_baseline_pytorch/tree/master/tutorial
What it solves
Person_reID_baseline_pytorch provides a tiny, friendly, and strong baseline codebase for object and person re-identification (re-ID) using PyTorch, helping researchers and developers train robust retrieval models efficiently.
How it works
It implements a complete PyTorch pipeline for training and testing object re-identification models, supporting various backbones like ResNet, DenseNet, Swin Transformer, and EfficientNet. Users can apply state-of-the-art training tricks and loss functions—such as Circle Loss, Triplet Loss, and random erasing—using simple command-line options. It also supports mixed-precision training (bf16/fp16) to reduce GPU memory usage and offers accelerated inference through TensorRT and Torch JIT.
Who it’s for
This repository is designed for students, researchers, and developers working on computer vision, person re-identification, and image retrieval who need a lightweight, adaptable, and high-performing baseline.
Highlights
- Trains on as little as 2GB of GPU memory using native PyTorch mixed-precision (bf16/fp16).
- Supports diverse backbones including ResNet, Swin Transformer, EfficientNet, HRNet, and ConvNeXt.
- Includes flexible support for multiple loss functions like Circle Loss, Triplet Loss, and Arcface.
- Provides tools for fast GPU-accelerated evaluation, re-ranking, and result visualization.
Related
- Project
- Project
- Project
- Project
- Project