Instructions to use TInkybala/Real_Panda_Fixed_Cube with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use TInkybala/Real_Panda_Fixed_Cube with LeRobot:
# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details git clone https://github.com/huggingface/lerobot.git cd lerobot pip install -e .[smolvla]
# Launch finetuning on your dataset python lerobot/scripts/train.py \ --policy.path=TInkybala/Real_Panda_Fixed_Cube \ --dataset.repo_id=lerobot/svla_so101_pickplace \ --batch_size=64 \ --steps=20000 \ --output_dir=outputs/train/my_smolvla \ --job_name=my_smolvla_training \ --policy.device=cuda \ --wandb.enable=true
# Run the policy using the record function python -m lerobot.record \ --robot.type=so101_follower \ --robot.port=/dev/ttyACM0 \ # <- Use your port --robot.id=my_blue_follower_arm \ # <- Use your robot id --robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \ # <- Use your cameras --dataset.single_task="Grasp a lego block and put it in the bin." \ # <- Use the same task description you used in your dataset recording --dataset.repo_id=HF_USER/dataset_name \ # <- This will be the dataset name on HF Hub --dataset.episode_time_s=50 \ --dataset.num_episodes=10 \ --policy.path=TInkybala/Real_Panda_Fixed_Cube - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- README.md +2 -2
- config.json +8 -24
- model.safetensors +1 -1
- train_config.json +17 -35
README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
---
|
| 2 |
base_model: lerobot/smolvla_base
|
| 3 |
-
datasets: TInkybala/
|
| 4 |
library_name: lerobot
|
| 5 |
license: apache-2.0
|
| 6 |
model_name: smolvla
|
| 7 |
pipeline_tag: robotics
|
| 8 |
tags:
|
| 9 |
-
- smolvla
|
| 10 |
- robotics
|
|
|
|
| 11 |
- lerobot
|
| 12 |
---
|
| 13 |
|
|
|
|
| 1 |
---
|
| 2 |
base_model: lerobot/smolvla_base
|
| 3 |
+
datasets: TInkybala/Real_Panda_FixedCube
|
| 4 |
library_name: lerobot
|
| 5 |
license: apache-2.0
|
| 6 |
model_name: smolvla
|
| 7 |
pipeline_tag: robotics
|
| 8 |
tags:
|
|
|
|
| 9 |
- robotics
|
| 10 |
+
- smolvla
|
| 11 |
- lerobot
|
| 12 |
---
|
| 13 |
|
config.json
CHANGED
|
@@ -12,24 +12,8 @@
|
|
| 12 |
"type": "VISUAL",
|
| 13 |
"shape": [
|
| 14 |
3,
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
]
|
| 18 |
-
},
|
| 19 |
-
"observation.images.camera2": {
|
| 20 |
-
"type": "VISUAL",
|
| 21 |
-
"shape": [
|
| 22 |
-
3,
|
| 23 |
-
256,
|
| 24 |
-
256
|
| 25 |
-
]
|
| 26 |
-
},
|
| 27 |
-
"observation.images.camera3": {
|
| 28 |
-
"type": "VISUAL",
|
| 29 |
-
"shape": [
|
| 30 |
-
3,
|
| 31 |
-
256,
|
| 32 |
-
256
|
| 33 |
]
|
| 34 |
}
|
| 35 |
},
|
|
@@ -49,9 +33,9 @@
|
|
| 49 |
"private": null,
|
| 50 |
"tags": null,
|
| 51 |
"license": null,
|
| 52 |
-
"pretrained_path":
|
| 53 |
"chunk_size": 50,
|
| 54 |
-
"n_action_steps":
|
| 55 |
"normalization_mapping": {
|
| 56 |
"VISUAL": "IDENTITY",
|
| 57 |
"STATE": "MEAN_STD",
|
|
@@ -79,7 +63,7 @@
|
|
| 79 |
],
|
| 80 |
"optimizer_eps": 1e-08,
|
| 81 |
"optimizer_weight_decay": 1e-10,
|
| 82 |
-
"optimizer_grad_clip_norm": 10
|
| 83 |
"scheduler_warmup_steps": 1000,
|
| 84 |
"scheduler_decay_steps": 30000,
|
| 85 |
"scheduler_decay_lr": 2.5e-06,
|
|
@@ -87,9 +71,9 @@
|
|
| 87 |
"load_vlm_weights": true,
|
| 88 |
"add_image_special_tokens": false,
|
| 89 |
"attention_mode": "cross_attn",
|
| 90 |
-
"prefix_length":
|
| 91 |
-
"pad_language_to": "
|
| 92 |
-
"num_expert_layers":
|
| 93 |
"num_vlm_layers": 16,
|
| 94 |
"self_attn_every_n_layers": 2,
|
| 95 |
"expert_width_multiplier": 0.75,
|
|
|
|
| 12 |
"type": "VISUAL",
|
| 13 |
"shape": [
|
| 14 |
3,
|
| 15 |
+
480,
|
| 16 |
+
640
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
]
|
| 18 |
}
|
| 19 |
},
|
|
|
|
| 33 |
"private": null,
|
| 34 |
"tags": null,
|
| 35 |
"license": null,
|
| 36 |
+
"pretrained_path": null,
|
| 37 |
"chunk_size": 50,
|
| 38 |
+
"n_action_steps": 50,
|
| 39 |
"normalization_mapping": {
|
| 40 |
"VISUAL": "IDENTITY",
|
| 41 |
"STATE": "MEAN_STD",
|
|
|
|
| 63 |
],
|
| 64 |
"optimizer_eps": 1e-08,
|
| 65 |
"optimizer_weight_decay": 1e-10,
|
| 66 |
+
"optimizer_grad_clip_norm": 10,
|
| 67 |
"scheduler_warmup_steps": 1000,
|
| 68 |
"scheduler_decay_steps": 30000,
|
| 69 |
"scheduler_decay_lr": 2.5e-06,
|
|
|
|
| 71 |
"load_vlm_weights": true,
|
| 72 |
"add_image_special_tokens": false,
|
| 73 |
"attention_mode": "cross_attn",
|
| 74 |
+
"prefix_length": -1,
|
| 75 |
+
"pad_language_to": "longest",
|
| 76 |
+
"num_expert_layers": -1,
|
| 77 |
"num_vlm_layers": 16,
|
| 78 |
"self_attn_every_n_layers": 2,
|
| 79 |
"expert_width_multiplier": 0.75,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 906712520
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73f5f5a9e876ac27fc959c4481d891a288ebfe93472f7d03c93892d6c3c9658a
|
| 3 |
size 906712520
|
train_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"dataset": {
|
| 3 |
-
"repo_id": "TInkybala/
|
| 4 |
"root": null,
|
| 5 |
"episodes": null,
|
| 6 |
"image_transforms": {
|
|
@@ -90,28 +90,12 @@
|
|
| 90 |
8
|
| 91 |
]
|
| 92 |
},
|
| 93 |
-
"observation.images.
|
| 94 |
"type": "VISUAL",
|
| 95 |
"shape": [
|
| 96 |
3,
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
]
|
| 100 |
-
},
|
| 101 |
-
"observation.images.camera2": {
|
| 102 |
-
"type": "VISUAL",
|
| 103 |
-
"shape": [
|
| 104 |
-
3,
|
| 105 |
-
256,
|
| 106 |
-
256
|
| 107 |
-
]
|
| 108 |
-
},
|
| 109 |
-
"observation.images.camera3": {
|
| 110 |
-
"type": "VISUAL",
|
| 111 |
-
"shape": [
|
| 112 |
-
3,
|
| 113 |
-
256,
|
| 114 |
-
256
|
| 115 |
]
|
| 116 |
}
|
| 117 |
},
|
|
@@ -131,9 +115,9 @@
|
|
| 131 |
"private": null,
|
| 132 |
"tags": null,
|
| 133 |
"license": null,
|
| 134 |
-
"pretrained_path":
|
| 135 |
"chunk_size": 50,
|
| 136 |
-
"n_action_steps":
|
| 137 |
"normalization_mapping": {
|
| 138 |
"VISUAL": "IDENTITY",
|
| 139 |
"STATE": "MEAN_STD",
|
|
@@ -161,7 +145,7 @@
|
|
| 161 |
],
|
| 162 |
"optimizer_eps": 1e-08,
|
| 163 |
"optimizer_weight_decay": 1e-10,
|
| 164 |
-
"optimizer_grad_clip_norm": 10
|
| 165 |
"scheduler_warmup_steps": 1000,
|
| 166 |
"scheduler_decay_steps": 30000,
|
| 167 |
"scheduler_decay_lr": 2.5e-06,
|
|
@@ -169,9 +153,9 @@
|
|
| 169 |
"load_vlm_weights": true,
|
| 170 |
"add_image_special_tokens": false,
|
| 171 |
"attention_mode": "cross_attn",
|
| 172 |
-
"prefix_length":
|
| 173 |
-
"pad_language_to": "
|
| 174 |
-
"num_expert_layers":
|
| 175 |
"num_vlm_layers": 16,
|
| 176 |
"self_attn_every_n_layers": 2,
|
| 177 |
"expert_width_multiplier": 0.75,
|
|
@@ -181,24 +165,24 @@
|
|
| 181 |
"compile_model": false,
|
| 182 |
"compile_mode": "max-autotune"
|
| 183 |
},
|
| 184 |
-
"output_dir": "outputs/train/
|
| 185 |
"job_name": "panda_pick_screwdriver_smolvla",
|
| 186 |
"resume": false,
|
| 187 |
"seed": 1000,
|
| 188 |
"num_workers": 4,
|
| 189 |
-
"batch_size":
|
| 190 |
-
"steps":
|
| 191 |
"eval_freq": 20000,
|
| 192 |
"log_freq": 200,
|
| 193 |
"tolerance_s": 0.0001,
|
| 194 |
"save_checkpoint": true,
|
| 195 |
-
"save_freq":
|
| 196 |
"use_policy_training_preset": true,
|
| 197 |
"optimizer": {
|
| 198 |
"type": "adamw",
|
| 199 |
"lr": 0.0001,
|
| 200 |
"weight_decay": 1e-10,
|
| 201 |
-
"grad_clip_norm": 10
|
| 202 |
"betas": [
|
| 203 |
0.9,
|
| 204 |
0.95
|
|
@@ -223,7 +207,7 @@
|
|
| 223 |
"project": "lerobot",
|
| 224 |
"entity": null,
|
| 225 |
"notes": null,
|
| 226 |
-
"run_id": "
|
| 227 |
"mode": null
|
| 228 |
},
|
| 229 |
"peft": null,
|
|
@@ -232,8 +216,6 @@
|
|
| 232 |
"rabc_kappa": 0.01,
|
| 233 |
"rabc_epsilon": 1e-06,
|
| 234 |
"rabc_head_mode": "sparse",
|
| 235 |
-
"rename_map": {
|
| 236 |
-
"observation.images.camera_1": "observation.images.camera1"
|
| 237 |
-
},
|
| 238 |
"checkpoint_path": null
|
| 239 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"dataset": {
|
| 3 |
+
"repo_id": "TInkybala/Real_Panda_FixedCube",
|
| 4 |
"root": null,
|
| 5 |
"episodes": null,
|
| 6 |
"image_transforms": {
|
|
|
|
| 90 |
8
|
| 91 |
]
|
| 92 |
},
|
| 93 |
+
"observation.images.camera_1": {
|
| 94 |
"type": "VISUAL",
|
| 95 |
"shape": [
|
| 96 |
3,
|
| 97 |
+
480,
|
| 98 |
+
640
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
]
|
| 100 |
}
|
| 101 |
},
|
|
|
|
| 115 |
"private": null,
|
| 116 |
"tags": null,
|
| 117 |
"license": null,
|
| 118 |
+
"pretrained_path": null,
|
| 119 |
"chunk_size": 50,
|
| 120 |
+
"n_action_steps": 50,
|
| 121 |
"normalization_mapping": {
|
| 122 |
"VISUAL": "IDENTITY",
|
| 123 |
"STATE": "MEAN_STD",
|
|
|
|
| 145 |
],
|
| 146 |
"optimizer_eps": 1e-08,
|
| 147 |
"optimizer_weight_decay": 1e-10,
|
| 148 |
+
"optimizer_grad_clip_norm": 10,
|
| 149 |
"scheduler_warmup_steps": 1000,
|
| 150 |
"scheduler_decay_steps": 30000,
|
| 151 |
"scheduler_decay_lr": 2.5e-06,
|
|
|
|
| 153 |
"load_vlm_weights": true,
|
| 154 |
"add_image_special_tokens": false,
|
| 155 |
"attention_mode": "cross_attn",
|
| 156 |
+
"prefix_length": -1,
|
| 157 |
+
"pad_language_to": "longest",
|
| 158 |
+
"num_expert_layers": -1,
|
| 159 |
"num_vlm_layers": 16,
|
| 160 |
"self_attn_every_n_layers": 2,
|
| 161 |
"expert_width_multiplier": 0.75,
|
|
|
|
| 165 |
"compile_model": false,
|
| 166 |
"compile_mode": "max-autotune"
|
| 167 |
},
|
| 168 |
+
"output_dir": "outputs/train/TInkybala_Real_Panda_PickScrewdriver_finetune_smolvla_20260311_144748",
|
| 169 |
"job_name": "panda_pick_screwdriver_smolvla",
|
| 170 |
"resume": false,
|
| 171 |
"seed": 1000,
|
| 172 |
"num_workers": 4,
|
| 173 |
+
"batch_size": 16,
|
| 174 |
+
"steps": 20000,
|
| 175 |
"eval_freq": 20000,
|
| 176 |
"log_freq": 200,
|
| 177 |
"tolerance_s": 0.0001,
|
| 178 |
"save_checkpoint": true,
|
| 179 |
+
"save_freq": 20000,
|
| 180 |
"use_policy_training_preset": true,
|
| 181 |
"optimizer": {
|
| 182 |
"type": "adamw",
|
| 183 |
"lr": 0.0001,
|
| 184 |
"weight_decay": 1e-10,
|
| 185 |
+
"grad_clip_norm": 10,
|
| 186 |
"betas": [
|
| 187 |
0.9,
|
| 188 |
0.95
|
|
|
|
| 207 |
"project": "lerobot",
|
| 208 |
"entity": null,
|
| 209 |
"notes": null,
|
| 210 |
+
"run_id": "il3flh3f",
|
| 211 |
"mode": null
|
| 212 |
},
|
| 213 |
"peft": null,
|
|
|
|
| 216 |
"rabc_kappa": 0.01,
|
| 217 |
"rabc_epsilon": 1e-06,
|
| 218 |
"rabc_head_mode": "sparse",
|
| 219 |
+
"rename_map": {},
|
|
|
|
|
|
|
| 220 |
"checkpoint_path": null
|
| 221 |
}
|