ShiqiYu/OpenGait

A flexible and extensible framework for gait recognition. You can focus on designing your own models and comparing with state-of-the-arts easily with the help of OpenGait.

What it solves

Gait recognition (identifying people by the way they walk) is useful for surveillance and biometrics but is hard to make practical. Many research methods are scattered or only work on one dataset. This project gives a single, flexible framework to train, test, and compare different gait recognition models across many datasets, so researchers don't have to reinvent the wheel.

How it works

It is a Python-based project that provides ready-to-use implementations of many state-of-the-art gait recognition methods (like GaitBase, DeepGaitV2, BigGait, and more). It supports multiple public datasets (CASIA-B, OUMVLP, SUSTech1K, GREW, Gait3D, and others) with standardised data loading. Training and evaluation use PyTorch's Distributed Data Parallel (DDP) for multi-GPU speed and Auto Mixed Precision (AMP) to save memory. You configure everything through config files and can customise models by following provided tutorials. Logs are managed with TensorBoard and logging.

Who it's for

Researchers and developers working on gait recognition, especially those who want to benchmark new ideas or reproduce published results without building everything from scratch. It is also useful for students learning about practical gait recognition systems.

Highlights

  • Supports 9+ public gait datasets out of the box.
  • Reproduces many state-of-the-art models with matching or better performance.
  • Uses Distributed Data Parallel (DDP) for efficient multi-GPU training and testing.
  • Includes Auto Mixed Precision (AMP) support to reduce memory usage.
  • Provides clean logs via TensorBoard and Python logging.
  • Offers detailed tutorials for dataset preparation, configuration, custom model creation, and advanced usage.

Related

  • Project
  • Project
  • Project
  • Project
  • Project