Download scripts/deploy/run_sonic_sim_record_online.sh from Tinghong-Ye22/code-HFD: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/Tinghong-Ye22/code-HFD/resolve/main/scripts/deploy/run_sonic_sim_record_online.sh
- Command line
-
hf download hf://Tinghong-Ye22/code-HFD/scripts/deploy/run_sonic_sim_record_online.sh
-
curl -L -o run_sonic_sim_record_online.sh https://huggingface.co/Tinghong-Ye22/code-HFD/resolve/main/scripts/deploy/run_sonic_sim_record_online.sh
1.13 kB
| cd /cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/GR00T-WholeBodyControl | |
| source .venv_sim/bin/activate | |
| export PYTHONPATH=/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/GR00T-WholeBodyControl:/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v18/src | |
| export SONIC_LIVE_STATE_NPY="/tmp/psi0_sonic_live_state.npy" | |
| export SONIC_LIVE_STATE_PERIOD="0.02" | |
| export MUJOCO_GL="egl" | |
| export PYOPENGL_PLATFORM="egl" | |
| VIDEO_PATH="/tmp/psi0_sonic_jog_ff_start_180_r_tracking.mp4" | |
| MAX_SECONDS="240" | |
| RECORD_FLAG_PATH="/tmp/psi0_sonic_record_enabled.flag" | |
| # <modify> 与GR00T/gear_sonic/scripts/2_run.sh的离线渲染参数对齐。 | |
| python /cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v18/scripts/deploy/run_sonic_sim_record_online.py \ | |
| --video-path "$VIDEO_PATH" \ | |
| --max-seconds "$MAX_SECONDS" \ | |
| --video-width 1440 \ | |
| --video-height 832 \ | |
| --video-fps 15 \ | |
| --sim-frequency 200 \ | |
| --record-flag-path "$RECORD_FLAG_PATH" | |