#!/bin/bash # Run: bash setup_mdm.sh # 1. Clone the MDM repo git clone https://github.com/GuyTevet/motion-diffusion-model.git cd motion-diffusion-model # 2. Install dependencies pip install -r requirements.txt # 3. Download pretrained checkpoint (HumanML3D model) mkdir -p checkpoints cd checkpoints wget https://huggingface.co/GuyTevet/MotionDiffuse/resolve/main/mdm_humanml3d.pt cd .. # 4. Optional: test generation # python scripts/test_generate.py --text "a person jumps forward"