Skip to content

FastPoseGait is a user-friendly and flexible repository that aims to help researchers get started on pose-based gait recognition quickly.

Notifications You must be signed in to change notification settings

BNU-IVC/FastPoseGait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

FastPoseGait is a user-friendly and flexible repository that aims to help researchers get started on pose-based gait recognition quickly. This repository is provided by BNU-IVC and supported in part by WATRIX.AI.

Technical Report GPGait made-with-pytorch Percentage of issues still open

News!

Supports

Supported Algorithms

Supported Datasets

Getting Started

For the basic usage of FastPoseGait

git clone https://github.com/BNU-IVC/FastPoseGait
cd FastPoseGait

1. Installation

  • python >= 3.9
  • torch >= 1.8
  • tqdm
  • pyyaml
  • tensorboard
  • pytorch_metric_learning

Install the dependencies by pip:

pip install pyyaml tqdm tensorboard pytorch_metric_learning
pip install torch==1.8 torchvision==0.9

Install the dependencies by Anaconda:

conda create -n fastposegait python=3.9
conda install pytorch==1.8 torchvision -c pytorch
conda install pyyaml tqdm tensorboard -c conda-forge
pip install pytorch_metric_learning

2. Data Preparation

3. Training & Testing

Train a model by

CUDA_VISIBLE_DEVICES=0,1,2,3 python -m torch.distributed.launch --nproc_per_node=4 fastposegait/main.py --cfgs ./configs/gaittr/gaittr.yaml --phase train
  • python -m torch.distributed.launch DDP launch instruction.

  • --nproc_per_node The number of gpus to use, and it must equal to the length of CUDA_VISIBLE_DEVICES.

  • --cfgs The path to config file.

  • --phase Specified as train.

  • --log_to_file If specified, the terminal log will be written on disk simultaneously.

You can run commands in dist_train.sh to train different models.

Test a model by

CUDA_VISIBLE_DEVICES=0,1,2,3 python -m torch.distributed.launch --nproc_per_node=4 fastposegait/main.py --cfgs ./configs/gaittr/gaittr.yaml --phase test
  • --phase Specified as test.

You can run commands in dist_test.sh for testing different models.

For developers who wish to develop based on FastPoseGait

Model Zoo

Results and models are available in the model zoo. [Google Drive] [百度网盘 提取码s4jj]

Acknowledgement

Citation

If you find this project useful in your research, please consider citing:

@article{meng2023fastposegait,
  title={FastPoseGait: A Toolbox and Benchmark for Efficient Pose-based Gait Recognition},
  author={Meng, Shibei and Fu, Yang and Hou, Saihui and Cao, Chunshui and Liu, Xu and Huang, Yongzhen},
  journal={arXiv preprint arXiv:2309.00794},
  year={2023}
}

Note: This code is strictly intended for academic purposes and can not be utilized for any form of commercial use.

Authors

This project is built and maintained by ShiBei Meng and Yang Fu. We build this project based on the open-source project OpenGait.

We will keep up with the latest progress of the community, and support more popular algorithms and frameworks. We also appreciate all contributions to improve FastPoseGait. If you have any feature requests, please feel free to leave a comment, file an issue or contact the authors:

About

FastPoseGait is a user-friendly and flexible repository that aims to help researchers get started on pose-based gait recognition quickly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •