Instructions to use DAVIAN-Robotics/DiscoDemo-Stage3_SFT-StackCube with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use DAVIAN-Robotics/DiscoDemo-Stage3_SFT-StackCube with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Initial commit
Browse filesCo-authored-by: kinam0252 <kinam0252@users.noreply.huggingface.co>
- .gitattributes +35 -0
- README.md +58 -0
- config.json +87 -0
- model.safetensors +3 -0
- policy_postprocessor.json +32 -0
- policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
- policy_preprocessor.json +98 -0
- policy_preprocessor_step_3_normalizer_processor.safetensors +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: DAVIAN-Robotics/pi05_droid_jointpos
|
| 4 |
+
pipeline_tag: robotics
|
| 5 |
+
tags:
|
| 6 |
+
- robotics
|
| 7 |
+
- lerobot
|
| 8 |
+
- pi05
|
| 9 |
+
- imitation-learning
|
| 10 |
+
- discodemo
|
| 11 |
+
- franka
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# DiscoDemo-Stage3_SFT-StackCube
|
| 15 |
+
|
| 16 |
+
A visuomotor **π0.5** policy for the **StackCube** task (stack the red cube on the blue cube), fine-tuned on demonstrations generated
|
| 17 |
+
by the DiscoDemo generator (diversity weight α = 0.3) of [DiscoDemo](https://davian-robotics.github.io/DiscoDemo/). It acts from camera images and joint states only,
|
| 18 |
+
and transfers to the real Franka FR3 robot without real-world fine-tuning.
|
| 19 |
+
|
| 20 |
+
| Stage | Repository |
|
| 21 |
+
|---|---|
|
| 22 |
+
| Generator (RL policy) | [`DAVIAN-Robotics/DiscoDemo-Stage1_RL-StackCube`](https://huggingface.co/DAVIAN-Robotics/DiscoDemo-Stage1_RL-StackCube) |
|
| 23 |
+
| Generated dataset | [`DAVIAN-Robotics/DiscoDemo-Stage2_GenData-StackCube`](https://huggingface.co/datasets/DAVIAN-Robotics/DiscoDemo-Stage2_GenData-StackCube) |
|
| 24 |
+
| Imitation policy (π0.5) | [`DAVIAN-Robotics/DiscoDemo-Stage3_SFT-StackCube`](https://huggingface.co/DAVIAN-Robotics/DiscoDemo-Stage3_SFT-StackCube) (this repository) |
|
| 25 |
+
|
| 26 |
+
## Training
|
| 27 |
+
|
| 28 |
+
| | |
|
| 29 |
+
|---|---|
|
| 30 |
+
| Base model | [`DAVIAN-Robotics/pi05_droid_jointpos`](https://huggingface.co/DAVIAN-Robotics/pi05_droid_jointpos) (π0.5 DROID, joint-position actions) |
|
| 31 |
+
| Data | [`DAVIAN-Robotics/DiscoDemo-Stage2_GenData-StackCube`](https://huggingface.co/datasets/DAVIAN-Robotics/DiscoDemo-Stage2_GenData-StackCube) |
|
| 32 |
+
| Steps | 20,000 |
|
| 33 |
+
| Batch size | 16 |
|
| 34 |
+
| Action chunk | 15 (relative to the current joint state) |
|
| 35 |
+
| Cameras | over-the-shoulder and wrist |
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
The policy is a [LeRobot](https://github.com/huggingface/lerobot) π0.5 checkpoint. Its pre- and post-processing
|
| 40 |
+
pipeline uses DiscoDemo processing steps (relative actions, state tokenization), so loading it requires the DiscoDemo
|
| 41 |
+
code: https://github.com/DAVIAN-Robotics/DiscoDemo.
|
| 42 |
+
|
| 43 |
+
## License
|
| 44 |
+
|
| 45 |
+
Apache-2.0, following the base model ([openpi](https://github.com/Physical-Intelligence/openpi)).
|
| 46 |
+
|
| 47 |
+
## Citation
|
| 48 |
+
|
| 49 |
+
Paper: [arXiv:2610.32093](https://arxiv.org/abs/2610.32093)
|
| 50 |
+
|
| 51 |
+
```bibtex
|
| 52 |
+
@article{park2026discodemo,
|
| 53 |
+
title = {DiscoDemo: Discovering Efficient and Diverse Robot Demonstrations for Imitation Learning},
|
| 54 |
+
author = {Park, Minho and Kim, Kinam and Kim, Donghu and Lee, Byungkun and Hwang, Dongyoon and Shin, Yongjae and Hyung, Junha and Lee, Hojoon and Choo, Jaegul},
|
| 55 |
+
journal = {arXiv preprint arXiv:2610.32093},
|
| 56 |
+
year = {2026}
|
| 57 |
+
}
|
| 58 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "pi05",
|
| 3 |
+
"n_obs_steps": 1,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.images.base_0_rgb": {
|
| 6 |
+
"type": "VISUAL",
|
| 7 |
+
"shape": [
|
| 8 |
+
3,
|
| 9 |
+
480,
|
| 10 |
+
640
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
"observation.images.left_wrist_0_rgb": {
|
| 14 |
+
"type": "VISUAL",
|
| 15 |
+
"shape": [
|
| 16 |
+
3,
|
| 17 |
+
480,
|
| 18 |
+
640
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"observation.state": {
|
| 22 |
+
"type": "STATE",
|
| 23 |
+
"shape": [
|
| 24 |
+
8
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"output_features": {
|
| 29 |
+
"action": {
|
| 30 |
+
"type": "ACTION",
|
| 31 |
+
"shape": [
|
| 32 |
+
8
|
| 33 |
+
]
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"device": "cuda",
|
| 37 |
+
"use_amp": false,
|
| 38 |
+
"use_peft": false,
|
| 39 |
+
"push_to_hub": false,
|
| 40 |
+
"repo_id": null,
|
| 41 |
+
"private": null,
|
| 42 |
+
"tags": null,
|
| 43 |
+
"license": null,
|
| 44 |
+
"pretrained_path": "DAVIAN-Robotics/pi05_droid_jointpos",
|
| 45 |
+
"paligemma_variant": "gemma_2b",
|
| 46 |
+
"action_expert_variant": "gemma_300m",
|
| 47 |
+
"dtype": "bfloat16",
|
| 48 |
+
"chunk_size": 15,
|
| 49 |
+
"n_action_steps": 15,
|
| 50 |
+
"max_state_dim": 8,
|
| 51 |
+
"max_action_dim": 32,
|
| 52 |
+
"num_inference_steps": 10,
|
| 53 |
+
"time_sampling_beta_alpha": 1.5,
|
| 54 |
+
"time_sampling_beta_beta": 1.0,
|
| 55 |
+
"time_sampling_scale": 0.999,
|
| 56 |
+
"time_sampling_offset": 0.001,
|
| 57 |
+
"min_period": 0.004,
|
| 58 |
+
"max_period": 4.0,
|
| 59 |
+
"rtc_config": null,
|
| 60 |
+
"image_resolution": [
|
| 61 |
+
224,
|
| 62 |
+
224
|
| 63 |
+
],
|
| 64 |
+
"empty_cameras": 0,
|
| 65 |
+
"tokenizer_max_length": 200,
|
| 66 |
+
"normalization_mapping": {
|
| 67 |
+
"VISUAL": "IDENTITY",
|
| 68 |
+
"STATE": "QUANTILES",
|
| 69 |
+
"ACTION": "QUANTILES"
|
| 70 |
+
},
|
| 71 |
+
"gradient_checkpointing": true,
|
| 72 |
+
"compile_model": false,
|
| 73 |
+
"compile_mode": "max-autotune",
|
| 74 |
+
"freeze_vision_encoder": false,
|
| 75 |
+
"train_expert_only": false,
|
| 76 |
+
"optimizer_lr": 2.5e-05,
|
| 77 |
+
"optimizer_betas": [
|
| 78 |
+
0.9,
|
| 79 |
+
0.95
|
| 80 |
+
],
|
| 81 |
+
"optimizer_eps": 1e-08,
|
| 82 |
+
"optimizer_weight_decay": 0.01,
|
| 83 |
+
"optimizer_grad_clip_norm": 1.0,
|
| 84 |
+
"scheduler_warmup_steps": 1000,
|
| 85 |
+
"scheduler_decay_steps": 20000,
|
| 86 |
+
"scheduler_decay_lr": 2.5e-06
|
| 87 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f14ea9b58f7a9378e712826e78eb45c061d668ef70af0217ded0cc6d9f6ba3f
|
| 3 |
+
size 7473096344
|
policy_postprocessor.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_postprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "unnormalizer_processor",
|
| 6 |
+
"config": {
|
| 7 |
+
"eps": 1e-08,
|
| 8 |
+
"features": {
|
| 9 |
+
"action": {
|
| 10 |
+
"type": "ACTION",
|
| 11 |
+
"shape": [
|
| 12 |
+
8
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"norm_map": {
|
| 17 |
+
"VISUAL": "IDENTITY",
|
| 18 |
+
"STATE": "QUANTILES",
|
| 19 |
+
"ACTION": "QUANTILES"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"registry_name": "device_processor",
|
| 26 |
+
"config": {
|
| 27 |
+
"device": "cpu",
|
| 28 |
+
"float_dtype": null
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
]
|
| 32 |
+
}
|
policy_postprocessor_step_0_unnormalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3757a5d90f319b63beb725cdabbbc51fbcd9313780a7e88287374f264369d7e5
|
| 3 |
+
size 5564
|
policy_preprocessor.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_preprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "rename_observations_processor",
|
| 6 |
+
"config": {
|
| 7 |
+
"rename_map": {
|
| 8 |
+
"observation.images.over_shoulder_left_camera": "observation.images.base_0_rgb",
|
| 9 |
+
"observation.images.wrist_cam": "observation.images.left_wrist_0_rgb"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"registry_name": "to_batch_processor",
|
| 15 |
+
"config": {}
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"registry_name": "action_delta_processor_step",
|
| 19 |
+
"config": {
|
| 20 |
+
"mask": [
|
| 21 |
+
true,
|
| 22 |
+
true,
|
| 23 |
+
true,
|
| 24 |
+
true,
|
| 25 |
+
true,
|
| 26 |
+
true,
|
| 27 |
+
true,
|
| 28 |
+
false
|
| 29 |
+
],
|
| 30 |
+
"state_key": "observation.state"
|
| 31 |
+
}
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"registry_name": "normalizer_processor",
|
| 35 |
+
"config": {
|
| 36 |
+
"eps": 1e-08,
|
| 37 |
+
"features": {
|
| 38 |
+
"observation.images.base_0_rgb": {
|
| 39 |
+
"type": "VISUAL",
|
| 40 |
+
"shape": [
|
| 41 |
+
3,
|
| 42 |
+
480,
|
| 43 |
+
640
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
"observation.images.left_wrist_0_rgb": {
|
| 47 |
+
"type": "VISUAL",
|
| 48 |
+
"shape": [
|
| 49 |
+
3,
|
| 50 |
+
480,
|
| 51 |
+
640
|
| 52 |
+
]
|
| 53 |
+
},
|
| 54 |
+
"observation.state": {
|
| 55 |
+
"type": "STATE",
|
| 56 |
+
"shape": [
|
| 57 |
+
8
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
"action": {
|
| 61 |
+
"type": "ACTION",
|
| 62 |
+
"shape": [
|
| 63 |
+
8
|
| 64 |
+
]
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
"norm_map": {
|
| 68 |
+
"VISUAL": "IDENTITY",
|
| 69 |
+
"STATE": "QUANTILES",
|
| 70 |
+
"ACTION": "QUANTILES"
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
"state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"registry_name": "pi05_prepare_state_tokenizer_processor_step",
|
| 77 |
+
"config": {}
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"registry_name": "tokenizer_processor",
|
| 81 |
+
"config": {
|
| 82 |
+
"max_length": 200,
|
| 83 |
+
"task_key": "task",
|
| 84 |
+
"padding_side": "right",
|
| 85 |
+
"padding": "max_length",
|
| 86 |
+
"truncation": true,
|
| 87 |
+
"tokenizer_name": "google/paligemma-3b-pt-224"
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"registry_name": "device_processor",
|
| 92 |
+
"config": {
|
| 93 |
+
"device": "cuda",
|
| 94 |
+
"float_dtype": null
|
| 95 |
+
}
|
| 96 |
+
}
|
| 97 |
+
]
|
| 98 |
+
}
|
policy_preprocessor_step_3_normalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3757a5d90f319b63beb725cdabbbc51fbcd9313780a7e88287374f264369d7e5
|
| 3 |
+
size 5564
|