Upload scripts/README_data.md with huggingface_hub
Browse files- scripts/README_data.md +46 -0
scripts/README_data.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 数据准备指南
|
| 2 |
+
|
| 3 |
+
## 已完成(自动化处理)
|
| 4 |
+
|
| 5 |
+
| 数据集 | 关节数 | Motions | 命令 |
|
| 6 |
+
|--------|:------:|:-------:|------|
|
| 7 |
+
| HumanML3D | 22 | 14,449 | `python scripts/preprocess_humanml3d.py` |
|
| 8 |
+
| 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` |
|
| 9 |
+
| 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` |
|
| 10 |
+
| 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` |
|
| 11 |
+
|
| 12 |
+
## 待手动下载
|
| 13 |
+
|
| 14 |
+
### Truebones Zoo(70种动物骨架,免费)
|
| 15 |
+
|
| 16 |
+
1. 浏览器打开 https://truebones.gumroad.com/l/skZMC
|
| 17 |
+
2. 输入 $0 结账下载(免费)
|
| 18 |
+
3. 解压到 `data/raw/Truebones_Zoo/`
|
| 19 |
+
4. 运行转换和预处理:
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
# FBX → BVH(使用本地 Blender)
|
| 23 |
+
BLENDER=tools/blender-4.2.0-linux-x64/blender
|
| 24 |
+
$BLENDER --background --python scripts/fbx2bvh_blender.py -- \
|
| 25 |
+
--input_dir data/raw/Truebones_Zoo \
|
| 26 |
+
--output_dir data/raw/Truebones_bvh
|
| 27 |
+
|
| 28 |
+
# BVH → Scheme C
|
| 29 |
+
python scripts/preprocess_bvh.py \
|
| 30 |
+
--bvh_dir data/raw/Truebones_bvh \
|
| 31 |
+
--output_dir data/processed/truebones_zoo \
|
| 32 |
+
--dataset_id truebones_zoo \
|
| 33 |
+
--remove_end_sites
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
### Mixamo(多角色人类动画)
|
| 37 |
+
|
| 38 |
+
需要 Adobe 账号登录 https://www.mixamo.com/ 下载 FBX,然后同上用 Blender 转 BVH。
|
| 39 |
+
|
| 40 |
+
## Blender 位置
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
tools/blender-4.2.0-linux-x64/blender
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
无需 sudo,便携版,支持 `--background` 模式运行 Python 脚本。
|