MotionBERT / docs /pretrain.md
walterzhu's picture
Upload 58 files
bbde80b

Pretrain

Data

AMASS

  1. Please download data from the official website (SMPL+H).
  2. We provide the preprocessing scripts as follows. Minor modifications might be necessary.

Human 3.6M

Please refer to pose3d.md.

InstaVariety

  1. Please download data from human_dynamics to data/motion2d.
  2. Use tools/convert_insta.py to preprocess the 2D keypoints (need to specify name_action ).

PoseTrack

Please download PoseTrack18 from MMPose and unzip to data/motion2d.

The processed directory tree should look like this:

.
└── data/
    β”œβ”€β”€ motion3d/
    β”‚   └── MB3D_f243s81/
    β”‚       β”œβ”€β”€ AMASS
    β”‚       └── H36M-SH
    β”œβ”€β”€ motion2d/
    β”‚   β”œβ”€β”€ InstaVariety/
    β”‚   β”‚   β”œβ”€β”€ motion_all.npy
    β”‚   β”‚   └── id_all.npy
    β”‚   └── posetrack18_annotations/
    β”‚       β”œβ”€β”€ train
    β”‚       └── ...
    └── ...

Train

python train.py \
--config configs/pretrain/MB_pretrain.yaml \
-c checkpoint/pretrain/MB_pretrain