FastPoseGait 是一个用户友好且灵活的仓库,旨在帮助研究人员快速开始基于姿态的步态识别工作。
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.
git clone https://github.com/BNU-IVC/FastPoseGait
cd FastPoseGaitInstall the dependencies with pip:
pip install pyyaml tqdm tensorboard pytorch_metric_learning
pip install torch==1.8 torchvision==0.9Install 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_learningTrain 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 trainpython -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.
Results and models are available in the model zoo. [Google Drive] [百度网盘 提取码s4jj]
Models of GPGait++ can be downloaded in [Google Drive] [百度网盘 提取码6p68]
If you find this project useful in your research, please consider citing:
…Note: This code is strictly intended for academic purposes and can not be utilized for any form of commercial use.
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:
暂无开放 Issues,或尚未同步最近议题。