|
Download README.md from Dvidia/piper-first-attempt-v01: direct link, hf CLI and curl.
- Browser
- Download file 4.61 kB
-
https://huggingface.co/Dvidia/piper-first-attempt-v01/resolve/main/README.md
- Command line
-
hf download hf://Dvidia/piper-first-attempt-v01/README.md
-
curl -L -o README.md https://huggingface.co/Dvidia/piper-first-attempt-v01/resolve/main/README.md
4.61 kB
| license: mit | |
| library_name: numpy | |
| pipeline_tag: robotics | |
| datasets: | |
| - Dvidia/piper-first-attempt-v01 | |
| tags: | |
| - robotics | |
| - imitation-learning | |
| - mujoco | |
| - simulation | |
| - numpy | |
| # DVIDIA 路 PiPER first-attempt placement | |
| A 195 kB local CPU model learned to move a known 40 mm upright block from **32 simulated demonstrations**. After a workspace camera survey, the arm uses one initial RGB-D observation, a destination and its joint encoders to run the skill. The frozen package completed **36/36 first-attempt simulated placements** across 18 previously unseen starts, with both destinations at every start. [Held-out results and actuator tapes](https://huggingface.co/datasets/Dvidia/piper-first-attempt-v01) | |
| | Frozen learned skill | Result | | |
| |---|---:| | |
| | Median time to strict placement | 14.331 simulated seconds | | |
| | Median final horizontal error | 4.224 mm | | |
| | Highest force on either gripper pad | 1.172 N | | |
| | Episodes with critical contact or teacher intervention | 0 of 36 | | |
| | Outcomes reproduced by independent physics replay | 36 of 36 | | |
| [Watch a simulated placement at double speed](./learned-piper-placement.mp4) 路 [Download the Terminal skill](https://huggingface.co/Dvidia/piper-first-attempt-v01/resolve/main/piper-camera-yaw-skill-0.1.0.zip?download=true) 路 [NumPy weights](./model/camera-xy-primitive.npz) | |
| ## Run on a laptop | |
| Use Python 3.12 with NumPy 2.5.3. From an empty directory, these commands download the frozen skill, verify it and compare all 24,000 fixture decisions with the packaged runtime. The runner operates offline after setup. It emits six joint targets in radians and a gripper target in metres. | |
| ```sh | |
| python -m venv .venv | |
| .venv/bin/python -m pip install numpy==2.5.3 | |
| curl -fL https://huggingface.co/Dvidia/piper-first-attempt-v01/resolve/main/piper-camera-yaw-skill-0.1.0.zip -o piper-camera-yaw-skill-0.1.0.zip | |
| .venv/bin/python -c "import hashlib,pathlib; assert hashlib.sha256(pathlib.Path('piper-camera-yaw-skill-0.1.0.zip').read_bytes()).hexdigest()=='45a8636d2e90db9a4643a73268cf0463b6943d4d63f97ec93fff5ec0b470b1f9'" | |
| unzip -q piper-camera-yaw-skill-0.1.0.zip -d piper-skill | |
| .venv/bin/python -I piper-skill/run_yaw.py --self-test | |
| .venv/bin/python -I piper-skill/run_yaw.py < piper-skill/example-observations.jsonl | |
| ``` | |
| ## Replay one native physics scene | |
| Keep the downloaded skill ZIP, the runner and its original evidence archive in the same directory. Install the matching DVIDIA simulator with its arm dependencies in the environment above. The default replay uses the heavier 60 g block at +24掳. It requires working offscreen graphics and fetches the pinned PiPER asset files separately. [Native setup and reproduced example](https://github.com/Dvidia-Inference/dvidia-training/blob/a8d50b5158ea4295fbb56745fb9853a4fd3b551f/benchmarks/piper-first-attempt-v01/local-skill/README.md) | |
| ```sh | |
| .venv/bin/python -m pip install 'dvidia-training[arm] @ git+https://github.com/Dvidia-Inference/dvidia-training.git@e13ff91fe2466cf630fe49c0dd0993dfafdd8e0e' | |
| curl -fL https://huggingface.co/Dvidia/piper-first-attempt-v01/resolve/main/simulate.py -o simulate.py | |
| curl -fL https://raw.githubusercontent.com/Dvidia-Inference/dvidia-training/a8d50b5158ea4295fbb56745fb9853a4fd3b551f/benchmarks/piper-first-attempt-v01/local-skill/evidence.zip -o evidence.zip | |
| .venv/bin/python -c "import hashlib,pathlib; assert hashlib.sha256(pathlib.Path('evidence.zip').read_bytes()).hexdigest()=='cac4c33eccdf0ef95adfccdcd0ac3647c2270c1cdd0562cdfcb5f7cc759e43de'" | |
| .venv/bin/dvidia-robot-sim fetch piper --output ./robot-assets | |
| .venv/bin/python simulate.py --assets ./robot-assets --output ./first-placement | |
| ``` | |
| ## How the skill works | |
| The learned weights interpolate six arm targets and one jaw target using historical starting XY, destination and elapsed time. An authored adapter uses the initial block angle to rotate the wrist. Measured joints bound requested motion. The simulator applies its joint and actuation limits at runtime. On a separate rotated-block development test, the same weights scored 24/24 with wrist adaptation and 16/24 with a fixed wrist. | |
| The training data came from an authored simulator controller. These measurements apply to one PiPER arm and its parallel gripper, one calibrated camera, one known rigid object and two destinations. Physical sensing, new object geometries, recovery after a dropped block and learning from ordinary human video require separate evaluation. [Source and benchmark](https://github.com/Dvidia-Inference/dvidia-training/tree/a8d50b5158ea4295fbb56745fb9853a4fd3b551f/benchmarks/piper-first-attempt-v01) 路 [MIT license](./LICENSE) | |