|
Download README.md from josyula/sharpadex-force-policy: direct link, hf CLI and curl.
- Browser
- Download file 3.71 kB
-
https://huggingface.co/josyula/sharpadex-force-policy/resolve/main/README.md
- Command line
-
hf download hf://josyula/sharpadex-force-policy/README.md
-
curl -L -o README.md https://huggingface.co/josyula/sharpadex-force-policy/resolve/main/README.md
3.71 kB
| license: cc-by-nc-4.0 | |
| library_name: pytorch | |
| pipeline_tag: robotics | |
| datasets: | |
| - Sharpa-Robotics/SharpaDex-v1.0 | |
| tags: | |
| - robotics | |
| - imitation-learning | |
| - dexterous-manipulation | |
| - force | |
| - tactile | |
| # Force-aware manipulation policy on SharpaDex | |
| Checkpoints of a small chunked policy for two five-finger hands. It reads three cameras (frozen DINOv2 ViT-S/14 | |
| features), joint state, fingertip force and joint torque, and predicts the next 16 joint targets (58 joints, 0.53 s at | |
| 30 Hz) together with the fingertip force it expects. Trained on three tasks of the public | |
| [SharpaDex](https://huggingface.co/datasets/Sharpa-Robotics/SharpaDex-v1.0) dataset (`clean_plate_with_eraser`, | |
| `insert_plug_into_socket`, `remove_block_from_box`): 1,032 training episodes (4.31 h); 115 held-out episodes are never | |
| trained on. | |
| Code, results and the commands that reproduce every number: https://github.com/josyulakp/sharpadex-force-policy | |
| (results page: `RESULTS.md`). | |
| ## Held-out results (mean absolute joint error, mean of 3 seeds, 50,000 training steps) | |
| | Model | Folder | Joint error (mrad) | In contact | Free motion | Force forecast (N) | | |
| |---|---|---|---|---|---| | |
| | Four experts, with force (released model) | `runs/headline/full` | 13.95 | 13.52 | 14.46 | 0.21 | | |
| | Four plain experts, without force | `runs/headline/no_force` | 14.91 | 14.57 | 15.32 | none | | |
| | Two experts, with force | `runs/headline/two_experts` | 14.34 | 13.57 | 15.27 | 0.20 | | |
| | Two plain experts, without force | `runs/headline/no_force_two_experts` | 14.97 | 14.65 | 15.35 | none | | |
| Reference: holding the current joint state gives 46.72 mrad; "force stays as it is" gives 0.24 N. | |
| These are offline errors against the operator's commands on recorded frames. No policy was run on a robot. | |
| ## Files | |
| | Path | What | | |
| |---|---| | |
| | `runs/headline/<variant>/seed{0,1,2}/ckpt.pt` | Policies trained for 50,000 steps, three seeds each, with the run config and the held-out summary | | |
| | `runs/three_tasks/{full,no_force}/seed0/ckpt.pt` | Two-expert policies trained for 8,000 steps (used in the first video world-model rollouts) | | |
| | `runs/<group>/<variant>/seed*/eval_*.npz` | Per-frame held-out evaluation files behind the tables and the report (`scripts/aggregate.py`, `scripts/make_report.py`) | | |
| | `checkpoints/tacforesight/sharpa_eraser/` | TacForeSight tactile world model trained on the eraser task; the four-expert policy reads its latents | | |
| | `checkpoints/primesim/sharpa_three_tasks/step-6000.safetensors` | PrimeSim (Wan 2.2 TI2V 5B) fine-tuned weights, three tasks, commands as input | | |
| | `checkpoints/primesim/sharpa_eraser/step-6000.safetensors` | The same, eraser task only | | |
| | `checkpoints/primesim/kinematics*.pt` | Small networks that map joint commands to the hand poses PrimeSim takes as input | | |
| ## Use | |
| The files sit at the paths the code expects. From a clone of the code repository: | |
| ```bash | |
| hf download josyula/sharpadex-force-policy --local-dir . | |
| python scripts/evaluate.py runs/headline/full/seed0 # 13.87 mrad for seed 0 | |
| ``` | |
| `evaluate.py` also fetches a missing `ckpt.pt` from this repository by itself. The policy checkpoints are PyTorch pickles | |
| (`torch.load(..., weights_only=False)`) holding the weights, the full config, the normalisation statistics and the | |
| vocabulary; load them only from a source you trust. | |
| ## Licence and attribution | |
| Trained on SharpaDex v1.0 (Sharpa Robotics), released under CC BY-NC 4.0; these weights are shared under the same | |
| terms, for non-commercial use. The PrimeSim weights are a fine-tune of [PrimeSim](https://github.com/PrimebotTech/PrimeSim) | |
| (Apache 2.0) and the tactile world model is trained with [TacForeSight](https://github.com/TacForeSight/TacForeSight). | |