ACT (Action Chunking with Transformers) 策略模型, 在 ALOHA 仿真器上针对立方体转移任务训练。
本仓库提供昇腾 Ascend NPU (torch_npu) 推理适配, 模型、输入张量全部运行在 npu:0 设备, 不含任何 CUDA 调用。
https://ai.gitcode.com/hf_mirrors/lerobot/act_aloha_sim_transfer_cube_human./model_weights/lerobot/act_aloha_sim_transfer_cube_human/ (config.json + model.safetensors)pip install fastapi uvicorn python-multipart pillow safetensorspython inference.py --img <图片路径> [--state "0,0,...,0"]python inference.py --server
# 浏览器访问 http://localhost:8000 上传图片, POST /predict 返回推理 JSONnpu:0