File size: 1,760 Bytes
9fc9873
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"