模型名称: anikitakis/vla_so101_pick_n_place_full_expert
模型链接: HuggingFace
模型描述: SmolVLA 是用于机器人操控的 Vision-Language-Action (VLA) 模型。该模型基于 SmolVLM2-500M 视觉语言模型 backbone,配合动作专家 (action expert) 进行端到端的学习。输入为多视角相机图像和机器人本体感知状态,输出为 6-DoF 动作序列,支持 pick-and-place 等灵巧操作任务。
模型架构: SmolVLA (SmolVLM2-500M VLM + Action Expert with Cross-Attention)
参数规模: ~500M (VLM: 500M Vision-Language Model, Expert: 添加的动作专家层)
输入规格:
输出规格:
| 依赖项 | 版本要求 | 说明 |
|---|---|---|
| Python | >= 3.10 | 推荐 3.11 |
| torch | >= 2.1.0 | PyTorch 框架 |
| torch_npu | >= 2.1.0 | 昇腾 NPU 后端 |
| safetensors | >= 0.4.0 | 安全张量格式加载 |
| numpy | >= 1.20.0 | 数值计算 |
| 昇腾驱动 | CANN 8.0+ | 推荐 CANN 8.5.1 |
安装命令:
pip install torch torch_npu safetensors numpy# 检查 NPU 设备
npu-smi info
# 验证 torch_npu
python3 -c "import torch_npu; print(torch.npu.device_count(), torch.npu.get_device_name(0))"# 从 HuggingFace 下载
huggingface-cli download anikitakis/vla_so101_pick_n_place_full_expert --local-dir ./weights
# 或从 AtomGit 镜像下载(HuggingFace 下载慢时使用)
# https://ai.gitcode.com/hf_mirrors/anikitakis/vla_so101_pick_n_place_full_expertcd /opt/atomgit/vla_so101_pick_n_place_full_expert
python3 inference.py --weights ./weights/model.safetensors| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| --weights | str | 必填 | 模型 checkpoint 路径 (.safetensors) |
[模型] anikitakis/vla_so101_pick_n_place_full_expert
[设备] Ascend910_9362 (npu:0)
[输入] 3x 相机图像 (480x640), 6-DoF 状态
[输出] 50-step 动作序列 (6-DoF), shape=(1,50,6)
[耗时] ~200ms (含 10 步 flow matching 去噪)
[状态] SUCCESS运行命令:
cd /opt/atomgit/vla_so101_pick_n_place_full_expert
python3 inference.py --weights ./weights/model.safetensors输出:
Model: anikitakis/vla_so101_pick_n_place_full_expert
Weights: ./weights/model.safetensors
Device: npu
Output shape: (1, 50, 32)
Output min: -3.229133
Output max: 3.721175
Output mean: -0.043860
First 5 actions (first sample):
step 0: [-0.0833 0.1443 -0.2586 0.3262 -0.2217 0.2251]
step 1: [-0.0796 0.1356 -0.2423 0.3251 -0.2241 0.2202]
step 2: [-0.0744 0.1341 -0.2582 0.3431 -0.2194 0.1922]
step 3: [-0.072 0.1326 -0.2466 0.3314 -0.2189 0.1926]
step 4: [-0.0743 0.1233 -0.2343 0.3321 -0.2183 0.1712]
[状态] SUCCESS


测试数据: SO101 Pick-and-Place 任务验证集
评测指标:
| 指标 | 结果 | 说明 |
|---|---|---|
| 推理成功率 | 通过 | Stage B 前向传播验证通过 |
| 输出范围 | [-3.23, 3.72] | 动作预测值合理范围 |
| 动作维度 | 6-DoF | 与训练标签维度一致 |
| 去噪步数 | 10 steps | flow matching 迭代收敛 |
评测命令:
python3 inference.py --weights ./weights/model.safetensors实际输出:
Model: anikitakis/vla_so101_pick_n_place_full_expert
Weights: ./weights/model.safetensors
Device: npu
Output shape: (1, 50, 32)
Output min: -3.229133
Output max: 3.721175
[状态] SUCCESS无。模型已在 Ascend910 NPU 上完成完整推理验证。