Download scripts/data/calc_dance_audio_textop_stats.sh from Tinghong-Ye22/code-HFD: direct link, hf CLI and curl.
- Browser
- Download file 959 Bytes
-
https://huggingface.co/Tinghong-Ye22/code-HFD/resolve/main/scripts/data/calc_dance_audio_textop_stats.sh
- Command line
-
hf download hf://Tinghong-Ye22/code-HFD/scripts/data/calc_dance_audio_textop_stats.sh
-
curl -L -o calc_dance_audio_textop_stats.sh https://huggingface.co/Tinghong-Ye22/code-HFD/resolve/main/scripts/data/calc_dance_audio_textop_stats.sh
959 Bytes
| cd /cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v11 | |
| source .venv-psi/bin/activate | |
| export PYTHONPATH=/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v11/src | |
| MOTION_ROOT="/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/GR00T-WholeBodyControl/gear_sonic_deploy/reference/converted/psi0_dance/gvhmr" | |
| # <modify_audio_probe_stats> 统计文件只覆盖训练时能读到音频的motion。 | |
| VIDEO_ROOT="/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/dance_1723_video_psi0/dance_1723_video_10s" | |
| OUTPUT_PATH="assets/stats/psi0_dance_gvhmr_motion70_textop_stats.json" | |
| python scripts/data/calc_dance_audio_textop_stats.py \ | |
| --motion-root "$MOTION_ROOT" \ | |
| --video-root "$VIDEO_ROOT" \ | |
| --output-path "$OUTPUT_PATH" \ | |
| --action-chunk-size 30 \ | |
| --num-past-frames 0 | |