Download scripts/deploy/offline_psi0_sonic_motion_tracking.sh from Tinghong-Ye22/code-Psi0-yth-v21: direct link, hf CLI and curl.
- Browser
- Download file 1.76 kB
-
https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v21/resolve/main/scripts/deploy/offline_psi0_sonic_motion_tracking.sh
- Command line
-
hf download hf://Tinghong-Ye22/code-Psi0-yth-v21/scripts/deploy/offline_psi0_sonic_motion_tracking.sh
-
curl -L -o offline_psi0_sonic_motion_tracking.sh https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v21/resolve/main/scripts/deploy/offline_psi0_sonic_motion_tracking.sh
1.76 kB
| cd /cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v18 | |
| source .venv-psi/bin/activate | |
| export PYTHONPATH=/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v18/src | |
| export CUDA_VISIBLE_DEVICES=0 | |
| RUN_DIR="/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v18/runs/posttrain_v1_trimodal/posttrain.sg.flow1000.cwml.lr1.0e-04.b512.gpus8.2605260529" | |
| CKPT_STEP="best" | |
| DEVICE="cuda:0" | |
| PROMPT="jog_ff_start_180_r. start jog forward. jog ff start 180. start right foot, move forward, jog. start jogging forward. start a forward jog. initiate a forward jog. a person standing on the ground steadily jogs in the forward direction and then stands on the ground in an upright position." | |
| MOTION_NAME="psi0_yth_v14_test" | |
| NUM_OUTPUT_FRAMES="300" | |
| NUM_INFERENCE_STEPS="8" | |
| START_INDEX="0" | |
| SONIC_REPO="/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/GR00T-WholeBodyControl" | |
| OUTPUT_ROOT="/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/GR00T-WholeBodyControl/gear_sonic_deploy/reference/psi0_yth_v14" | |
| RUN_SONIC="1" | |
| # <modify> 离线SONIC tracking脚本改名,避免和真正在线闭环入口混淆。 | |
| python scripts/deploy/offline_psi0_sonic_motion_tracking.py \ | |
| --run-dir "$RUN_DIR" \ | |
| --ckpt-step "$CKPT_STEP" \ | |
| --device "$DEVICE" \ | |
| --prompt "$PROMPT" \ | |
| --motion-name "$MOTION_NAME" \ | |
| --num-output-frames "$NUM_OUTPUT_FRAMES" \ | |
| --num-inference-steps "$NUM_INFERENCE_STEPS" \ | |
| --start-index "$START_INDEX" \ | |
| --sonic-repo "$SONIC_REPO" \ | |
| --output-root "$OUTPUT_ROOT" \ | |
| --run-sonic "$RUN_SONIC" | |