Preprocess Human3.6M dataset
masterTo prepare the Human3.6M dataset for MotionAGFormer:
- Download the fine-tuned Stacked Hourglass detections from MotionBERT and unzip them into the
data/motion3ddirectory. - Slice the motion clips using
h36m.pyin thedata/preprocessdirectory. The number of frames required depends on the model scale you intend to use.
# For MotionAGFormer-Base and MotionAGFormer-Large
python h36m.py --n-frames 243
# For MotionAGFormer-Small
python h36m.py --n-frames 81
# For MotionAGFormer-XSmall
python h36m.py --n-frames 27