MMGait is a multi-modal benchmark and codebase for single-modal, cross-modal, multi-modal, and omni multi-modal gait recognition.
git clone https://github.com/BNU-IVC/MMGait
cd MMGaitRecommended: Linux + CUDA + multi-GPU.
conda create -n mmgait python=3.10 -y
conda activate mmgait
pip install -r requirements.txtTo obtain and use MMGait and its subsets, all users are required to complete the following steps:
- Download the latest agreement:
MMGait Dataset Usage Agreement.pdf. - Complete and sign it.
- Submit it to
BNU-IVC@outlook.comand ccchenye.wang@mail.bnu.edu.cn. - Please use your organization/institute email address to send the mail.
- We will handle requests within a week. Occasionally, emails may be flagged as spam. If you have not received a response within a week, please resend your mail from an alternate email address.
In case you encounter any issues, please feel free to reach out to us via BNU-IVC@outlook.com and cc chenye.wang@mail.bnu.edu.cn.
The loader expects the following directory layout:
MMGait_ROOT/
`-- {subject_id}/
`-- {seq_type}/
`-- {view_id}/
|-- depth.pkl
|-- event.pkl
|-- heatmap.pkl
|-- ir.pkl
|-- ir_sils.pkl
|-- lidar_depth.pkl
|-- lidar_points.pkl
|-- pose2d.pkl
|-- pose3d.pkl
|-- radar4d.pkl
|-- radar_depth.pkl
|-- rgb.pkl
`-- rgb_sils.pkl
Set it to your local dataset path in the config you run.
data_in_use follows this fixed order:
[depth, event, heatmap, ir, ir_sils, lidar_depth, lidar_points, pose2d, pose3d, radar4d, radar_depth, rgb, rgb_sils]
Train:
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -m torch.distributed.launch --nproc_per_node=8 --master_port=7207 opengait/main.py \
--cfgs configs/singlemodal/rgb_sils/DeepGaitV2.yaml \
--phase train --log_to_fileTest:
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -m torch.distributed.launch --nproc_per_node=8 --master_port=7207 opengait/main.py \
--cfgs configs/singlemodal/rgb_sils/DeepGaitV2.yaml \
--phase test --log_to_fileYou can also use the provided command templates:
single_modal.shcross_modal.shmulti_modal.shomni_modal.sh
Coming soon.
This codebase is built upon the OpenGait framework and extends it for MMGait tasks.
If you find this project useful in your research, please consider citing our paper (BibTeX will be provided after the camera-ready).
This code is strictly intended for academic purposes and must not be used for any form of commercial use.
If you have any questions, please contact BNU-IVC@outlook.com.
