| # 数据准备指南 |
|
|
| ## 已完成(自动化处理) |
|
|
| | 数据集 | 关节数 | Motions | 命令 | |
| |--------|:------:|:-------:|------| |
| | HumanML3D | 22 | 14,449 | `python scripts/preprocess_humanml3d.py` | |
| | 100Style | 23 | 810 | `python scripts/preprocess_bvh.py --bvh_dir data/raw/100Style/100STYLE --output_dir data/processed/100style --dataset_id 100style --remove_end_sites` | |
| | Bandai Namco | 22 | 3,053 | `python scripts/preprocess_bvh.py --bvh_dir data/raw/BandaiNamco/dataset --output_dir data/processed/bandai_namco --dataset_id bandai_namco --remove_end_sites` | |
| | CMU MoCap | 31 | 2,496 | `python scripts/preprocess_bvh.py --bvh_dir data/raw/CMU_MoCap --output_dir data/processed/cmu_mocap --dataset_id cmu_mocap --remove_end_sites` | |
|
|
| ## 待手动下载 |
|
|
| ### Truebones Zoo(70种动物骨架,免费) |
|
|
| 1. 浏览器打开 https://truebones.gumroad.com/l/skZMC |
| 2. 输入 $0 结账下载(免费) |
| 3. 解压到 `data/raw/Truebones_Zoo/` |
| 4. 运行转换和预处理: |
|
|
| ```bash |
| # FBX → BVH(使用本地 Blender) |
| BLENDER=tools/blender-4.2.0-linux-x64/blender |
| $BLENDER --background --python scripts/fbx2bvh_blender.py -- \ |
| --input_dir data/raw/Truebones_Zoo \ |
| --output_dir data/raw/Truebones_bvh |
| |
| # BVH → Scheme C |
| python scripts/preprocess_bvh.py \ |
| --bvh_dir data/raw/Truebones_bvh \ |
| --output_dir data/processed/truebones_zoo \ |
| --dataset_id truebones_zoo \ |
| --remove_end_sites |
| ``` |
|
|
| ### Mixamo(多角色人类动画) |
|
|
| 需要 Adobe 账号登录 https://www.mixamo.com/ 下载 FBX,然后同上用 Blender 转 BVH。 |
|
|
| ## Blender 位置 |
|
|
| ``` |
| tools/blender-4.2.0-linux-x64/blender |
| ``` |
|
|
| 无需 sudo,便携版,支持 `--background` 模式运行 Python 脚本。 |
|
|