|
Download OakInk-v2/shared-v1.1/script/README.md from ParityLab/Hand-Datasets-Raw: direct link, hf CLI and curl.
- Browser
- Download file 2.02 kB
-
https://huggingface.co/datasets/ParityLab/Hand-Datasets-Raw/resolve/main/OakInk-v2/shared-v1.1/script/README.md
- Command line
-
hf download hf://datasets/ParityLab/Hand-Datasets-Raw/OakInk-v2/shared-v1.1/script/README.md
-
curl -L -o README.md https://huggingface.co/datasets/ParityLab/Hand-Datasets-Raw/resolve/main/OakInk-v2/shared-v1.1/script/README.md
2.02 kB
| # OakInk-v2 shared-v1.1 当前脚本 | |
| Python 3.10+、CPU PyTorch;可视化另需 NumPy、Pillow 和 FFmpeg。没有下载/上传/训练功能。 | |
| 工作区须含固定 source/OakInk-v2/shared-v1.0、tmp/remaining-preparation-20261014/OakInk-v2-manifest.json 和 spec/hand-warehouse-1.1/schema.json。 | |
| 外部迁移工作区的数值源可以不含媒体;不是对本目录再次迁移。 | |
| ```bash | |
| python -B script/convert.py --workspace /path/to/migration-workspace --dataset OakInk-v2 --scope pilot --sequence '完整序列ID' | |
| python -B script/convert.py --workspace /path/to/migration-workspace --dataset OakInk-v2 --scope all | |
| python -B script/validate_oakink.py data/SEQUENCE/CAMERA --numerical-only | |
| python -B script/validate_oakink.py data/SEQUENCE/CAMERA --source /path/to/v1.0/view | |
| python -B -m unittest discover -s script -p test_oakink_migration.py | |
| ``` | |
| 不加 --numerical-only 时缺媒体/网格报错;检查一个视图不等于验收完整发布树。 | |
| reader 使用 CPU weights_only=True 并按文件缓存;示例: | |
| ```python | |
| import sys | |
| from pathlib import Path | |
| release = Path('/path/to/shared-v1.1') | |
| sys.path.insert(0, str(release / 'script')) | |
| from oakink_bundle import Reader, fields | |
| r = Reader(release / 'data/SEQUENCE/CAMERA') | |
| data, valid = r.numeric(fields(r.meta)[0]) | |
| ``` | |
| 命令行入口自动拥有 script 模块搜索路径;Python API 推荐 `sys.path.insert(0, str(release / 'script'))` 后 `from oakink_bundle import Reader, fields`,再 `r=Reader(view)`、`r.numeric(fields(r.meta)[0])`。 | |
| 可视化入口 `review_oakink_bundle.py` 需要匹配的旧视图、固定源清单和原视频;只显示新旧读取关键点/平移锚点,不把它称作 mask 质量评价。 | |
| hot3d_bundle.py / migrate_hot3d.py 是复用的冻结 CPU 路径/位串/序列化工具依赖,本库入口为 convert.py,不运行其 HOT3D 主函数。 | |
| 原版脚本和配置在 `legacy-v1.0/`,原 schema 与其他文档在 `../doc/legacy-v1.0/`;当前入口以本目录和 `../doc/schema.json` 为准。 | |