awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
KaiyangZhou avatar

KaiyangZhou/deep-person-reid

0
View on GitHub↗
4,849 stars·1,208 forks·Python·MIT·25 viewskaiyangzhou.github.io/deep-person-reid↗

Deep Person Reid

This project is a PyTorch person re-identification framework designed for training and evaluating models that identify individuals across different camera views. It provides a complete model training pipeline, a deep learning feature extractor for converting images into numeric vectors, and a suite of computer vision benchmarking tools to measure identity retrieval accuracy.

The framework includes a specialized transfer learning toolkit that supports layer freezing, staged learning rate optimization, and differential learning rates for fine-tuning pretrained models. It distinguishes itself through an extensible engine that allows for the development of custom training logic and the implementation of specific optimization objectives like hard-sample triplet loss mining and label smoothing.

The system covers comprehensive dataset management, including support for standard benchmarks, balanced batch sampling, and image augmentation. It provides evaluation utilities for calculating retrieval ranks and feature distances, as well as visualization tools for generating activation heatmaps and ranked retrieval galleries.

The project is implemented in Python and leverages PyTorch for its deep learning operations.

Features

  • PyTorch-Based Frameworks - A comprehensive PyTorch-based framework for training and evaluating person re-identification models.
  • Person Re-identification - Provides a comprehensive framework for training models to identify individuals across different camera views using softmax and triplet loss.
  • Computer Vision Benchmarks - Provides a suite for evaluating identity retrieval accuracy using standard re-identification benchmarks.
  • Re-identification Accuracy Metrics - Computes specialized accuracy, rank, and distance measures to quantify the effectiveness of identity matching across camera views.
  • Feature Extraction - Provides tools to convert images of people into numeric feature vectors using pretrained neural networks.
  • Re-ID Training Pipelines - Manages re-identification datasets, implements triplet loss, and optimizes network architectures for identity matching.
  • Model Performance Evaluators - Includes utilities to load pretrained weights and verify model reliability by comparing predictions against ground truth.
  • Re-ID Dataset Management - Organizes and preprocesses image or video benchmarks for identity matching, including custom integration and augmentation.
  • Re-ID Model Evaluation - Measures the accuracy of person re-identification systems using rank-based metrics and cross-dataset validation.
  • Top-K Accuracy Evaluators - Calculates prediction accuracy against ground truth labels using various top-k probability thresholds.
  • Identity Retrieval Rank Evaluators - Computes Cumulative Matching Characteristic (CMC) ranks to assess the accuracy of identity retrieval results.
  • Hard Triplet Miners - Optimizes feature embeddings by mining hard positive and negative triplets to group similar identities.
  • Transfer Learning Toolkits - Provides utilities for fine-tuning pretrained models through layer freezing and staged learning rate optimization.
  • Transfer Learning Workflows - Adapts pretrained PyTorch weights to re-identification tasks via layer freezing and staged learning rate optimization.
  • Neural Feature Extractors - Converts images of people into high-dimensional numeric embeddings to determine identity similarity.
  • Visual Feature Embeddings - Extracts high-dimensional feature vectors from images of people for similarity comparison and identity retrieval.
  • Model Accuracy Evaluators - Provides tools for measuring identification model performance and accuracy across source and cross-domain datasets.
  • Re-ID Dataset Loading - Imports and organizes standard person re-identification image and video sequences for training and evaluation.
  • Balanced Class Samplers - Implements sampling strategies that ensure balanced identity and camera representation within training batches.
  • Dataset Integration - Offers interfaces for registering and integrating custom image or video datasets into the training pipeline.
  • Cross-Dataset Validation - Validates a model trained on one dataset by testing its performance on different target datasets.
  • Dataset Preprocessing Tools - Provides utilities to preprocess person re-identification data with customizable dimensions and batch sizes.
  • Learning Rate Schedulers - Adjusts learning rates over time using single-step, multi-step, or cosine annealing strategies to improve convergence.
  • Layer-Wise Learning Rates - Applies distinct learning rates to base layers and newly initialized layers to optimize the fine-tuning process.
  • Model Architecture Selection - Offers a variety of network designs, including lightweight mobile and specialized re-identification architectures.
  • Model Generalization - Implements techniques to ensure models trained on multiple source datasets maintain accuracy in unseen environments.
  • Model Training Optimizers - Initializes optimization algorithms with customizable learning rates and weight decay tailored to different layer types.
  • Staged Transfer Learning - Implements a two-step process that freezes base layers to pretrain new layers before proceeding to end-to-end training.
  • Cross-Entropy Loss Functions - Implements cross-entropy loss with optional label smoothing to regularize the training of classification models.
  • Pretrained Model Deployment - Provides access to and deployment workflows for pretrained weights used in classification and person re-identification.
  • Ranking Visualizations - Generates plots showing the top-K similar gallery images for a given query to analyze retrieval quality.
  • Image Augmentations - Applies visual transformations such as color jittering and random erasing to increase training dataset variety.
  • Training Engines - Provides an extensible engine allowing developers to implement custom training logic and loss functions via class inheritance.
  • Layer Trainability Controls - Allows freezing or opening specific model layers to perform partial fine-tuning of pretrained networks.
  • Retrieval Result Plotting - Plots ranked retrieval results for images or video tracklets to visually assess identity matching accuracy.
  • Multi-Dataset Joint Management - Merges multiple image or video datasets into a single manager for joint training or evaluation.
  • Benchmark Dataset Loaders - Includes built-in loaders for standard re-identification benchmarks like Market1501 and MSMT17.
  • Re-ID Result Visualization - Generates heatmaps and ranked retrieval galleries to analyze how models identify people across different image sets.
  • Embedding Pairwise Distance Calculators - Calculates similarity matrices between identity embedding vectors using Euclidean and cosine metrics.
  • Deep Learning Models - Deep learning methods for person re-identification tasks.

Star history

Star history chart for kaiyangzhou/deep-person-reidStar history chart for kaiyangzhou/deep-person-reid

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does kaiyangzhou/deep-person-reid do?

This project is a PyTorch person re-identification framework designed for training and evaluating models that identify individuals across different camera views. It provides a complete model training pipeline, a deep learning feature extractor for converting images into numeric vectors, and a suite of computer vision benchmarking tools to measure identity retrieval accuracy.

What are the main features of kaiyangzhou/deep-person-reid?

The main features of kaiyangzhou/deep-person-reid are: PyTorch-Based Frameworks, Person Re-identification, Computer Vision Benchmarks, Re-identification Accuracy Metrics, Feature Extraction, Re-ID Training Pipelines, Model Performance Evaluators, Re-ID Dataset Management.

Which projects share features with kaiyangzhou/deep-person-reid?

Projects with overlapping indexed features include: layumi/person_reid_baseline_pytorch — This project is a PyTorch-based deep learning framework and supervised learning baseline for person and vehicle… kevinmusgrave/pytorch-metric-learning — PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving… datawhalechina/thorough-pytorch — This project is an educational resource and comprehensive guide for implementing and deploying deep learning models… open-edge-platform/anomalib — Anomalib is a PyTorch-based library for visual anomaly detection, offering a modular framework, a comprehensive model… allenai/allennlp — AllenNLP is a PyTorch-based research library and deep learning language toolkit designed for developing and training… autogluon/autogluon — AutoGluon is an automated machine learning framework and multimodal library designed to automate the end-to-end…

Projects sharing features with Deep Person Reid

These projects share indexed features with Deep Person Reid. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • layumi/person_reid_baseline_pytorchlayumi avatar

    layumi/Person_reID_baseline_pytorch

    4,431View on GitHub↗

    This project is a PyTorch-based deep learning framework and supervised learning baseline for person and vehicle re-identification. It provides a complete pipeline for training and evaluating models designed to extract identity-based feature embeddings and match the same entity across different camera views. The framework distinguishes itself with support for cross-modality identity matching, enabling the retrieval of identities across different imaging sensors such as RGB and infrared. It also includes advanced retrieval refinement through re-ranking techniques, utilizing reciprocal encoding

    Pythonawesome-reidbaselinecircle-loss
    View on GitHub↗4,431
  • kevinmusgrave/pytorch-metric-learningKevinMusgrave avatar

    KevinMusgrave/pytorch-metric-learning

    6,328View on GitHub↗

    PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving embedding spaces. It provides a modular framework where interchangeable loss functions, mining strategies, and evaluation tools can be composed to learn representations that map similar items to nearby points and dissimilar items to distant points in the embedding space. The library distinguishes itself through a highly configurable architecture that separates concerns across several interchangeable components. Users can assemble custom loss functions from pluggable distance metrics

    Pythoncomputer-visioncontrastive-learningdeep-learning
    View on GitHub↗6,328
  • datawhalechina/thorough-pytorchdatawhalechina avatar

    datawhalechina/thorough-pytorch

    3,684View on GitHub↗

    This project is an educational resource and comprehensive guide for implementing and deploying deep learning models using the PyTorch framework. It provides a structured learning curriculum consisting of tutorials and notebooks that cover neural network architectures, data pipelines, and model optimization across multiple AI domains. The curriculum includes practical implementation guides for building convolutional networks, transformers, and recurrent models. It specifically focuses on workflows for computer vision, including image classification, object detection, and segmentation, as well

    Jupyter Notebookdeep-learningmachine-learningpython
    View on GitHub↗3,684
  • open-edge-platform/anomalibopen-edge-platform avatar

    open-edge-platform/anomalib

    5,871View on GitHub↗

    Anomalib is a PyTorch-based library for visual anomaly detection, offering a modular framework, a comprehensive model zoo, and a benchmarking suite designed for industrial defect detection. It provides a wide range of algorithms—including generative, discriminative, teacher-student, and vision-language approaches—that support unsupervised, few-shot, and zero-shot settings. The library enables deployment through model export to ONNX and OpenVINO for edge devices, and includes a no-code web application for training and inference. It also features a command-line interface for orchestrating multi

    Pythonanomaly-detectionanomaly-localizationanomaly-segmentation
    View on GitHub↗5,871
  • Compare all 30 related projects→