Kuavo 50 demos: smolvla checkpoint 15K
Browse files- 50_demos/smolvla/checkpoints/checkpoint-15K/README.md +8 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/checkpoint_manifest.json +162 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/README.md +204 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/adapter_config.json +45 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/adapter_model.safetensors +3 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/config.json +101 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/policy_postprocessor.json +32 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/policy_preprocessor.json +87 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/policy_preprocessor_step_5_normalizer_processor.safetensors +3 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/train_config.json +248 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/CONTRACT.md +101 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/compat.py +66 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/data_manifest.json +0 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/effective_train_config.json +210 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/model_assets.json +9 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/policy.yaml +41 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/total.yaml +114 -0
- 50_demos/smolvla/checkpoints/checkpoint-15K/provenance/training_step.json +3 -0
50_demos/smolvla/checkpoints/checkpoint-15K/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# smolvla Kuavo 50 demos — 15000 updates
|
| 2 |
+
|
| 3 |
+
Deployable policy checkpoint: current state 20D, action 23D, 10Hz, seed 42, global batch 64.
|
| 4 |
+
The original training_state stays on KT; optimizer/RNG state is not published.
|
| 5 |
+
SmolVLA and Pi0.5 contain LoRA adapters and require their original base model. Use the pinned base/tokenizer revisions in provenance/model_assets.json.
|
| 6 |
+
Load the policy and BOTH processors from pretrained_model/. Apply provenance/compat.py install(policy) for GR00T language processing; GR00T and DiT require letterbox224 camera preprocessing. See provenance/CONTRACT.md for full input/action semantics.
|
| 7 |
+
Adapter base paths are HF repository IDs; no base weights are duplicated here. Fetch the pinned base snapshot before constructing the policy and applying the adapter.
|
| 8 |
+
This is an offline training artifact; no robot rollout validation is implied.
|
50_demos/smolvla/checkpoints/checkpoint-15K/checkpoint_manifest.json
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": 1,
|
| 3 |
+
"policy": "smolvla",
|
| 4 |
+
"step": 15000,
|
| 5 |
+
"repo_id": "RwH-Lab/Kuavo_ckpt",
|
| 6 |
+
"remote_prefix": "50_demos/smolvla/checkpoints/checkpoint-15K",
|
| 7 |
+
"source_checkpoint": "/home/work/mntvol/RwH-Kuavo_ckpt/50_demos/smolvla/checkpoints/015000",
|
| 8 |
+
"production_run": "/home/work/mntvol/RwH-Kuavo_ckpt/50_demos/_runs/full_20261025_235828",
|
| 9 |
+
"source_signature": {
|
| 10 |
+
"pretrained_model/README.md": [
|
| 11 |
+
5116,
|
| 12 |
+
1792955178619216327
|
| 13 |
+
],
|
| 14 |
+
"pretrained_model/adapter_config.json": [
|
| 15 |
+
1289,
|
| 16 |
+
1792955178656465865
|
| 17 |
+
],
|
| 18 |
+
"pretrained_model/adapter_model.safetensors": [
|
| 19 |
+
11893824,
|
| 20 |
+
1792955178652152197
|
| 21 |
+
],
|
| 22 |
+
"pretrained_model/config.json": [
|
| 23 |
+
2464,
|
| 24 |
+
1792955148245294199
|
| 25 |
+
],
|
| 26 |
+
"pretrained_model/policy_postprocessor.json": [
|
| 27 |
+
661,
|
| 28 |
+
1792955180510846143
|
| 29 |
+
],
|
| 30 |
+
"pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors": [
|
| 31 |
+
17412,
|
| 32 |
+
1792955180507639156
|
| 33 |
+
],
|
| 34 |
+
"pretrained_model/policy_preprocessor.json": [
|
| 35 |
+
1903,
|
| 36 |
+
1792955180501754393
|
| 37 |
+
],
|
| 38 |
+
"pretrained_model/policy_preprocessor_step_5_normalizer_processor.safetensors": [
|
| 39 |
+
17412,
|
| 40 |
+
1792955148256285800
|
| 41 |
+
],
|
| 42 |
+
"pretrained_model/train_config.json": [
|
| 43 |
+
7033,
|
| 44 |
+
1792955180481362469
|
| 45 |
+
],
|
| 46 |
+
"training_state/optimizer_param_groups.json": [
|
| 47 |
+
10079,
|
| 48 |
+
1792955180559228137
|
| 49 |
+
],
|
| 50 |
+
"training_state/optimizer_state.safetensors": [
|
| 51 |
+
23784192,
|
| 52 |
+
1792955143684305076
|
| 53 |
+
],
|
| 54 |
+
"training_state/rng_state.safetensors": [
|
| 55 |
+
15708,
|
| 56 |
+
1792955148275644891
|
| 57 |
+
],
|
| 58 |
+
"training_state/scheduler_state.json": [
|
| 59 |
+
255,
|
| 60 |
+
1792955180561430772
|
| 61 |
+
],
|
| 62 |
+
"training_state/training_step.json": [
|
| 63 |
+
21,
|
| 64 |
+
1792955148272795220
|
| 65 |
+
]
|
| 66 |
+
},
|
| 67 |
+
"tensor_count": 374,
|
| 68 |
+
"artifact_kind": "lora_adapter",
|
| 69 |
+
"training_state_included": false,
|
| 70 |
+
"files": {
|
| 71 |
+
"README.md": {
|
| 72 |
+
"size": 864,
|
| 73 |
+
"sha256": "cc4d6cba15fc16f6f6056486a24bf151765c04728ac6d4324f1755363ffd5924",
|
| 74 |
+
"git_blob_sha1": "1f04a487ffd38dc4493bff147944ca3389074efa"
|
| 75 |
+
},
|
| 76 |
+
"pretrained_model/README.md": {
|
| 77 |
+
"size": 5116,
|
| 78 |
+
"sha256": "3883cac295764fab86de6fa1182dbd4e8a8fe23898dcbaab3f0111640d7bf091",
|
| 79 |
+
"git_blob_sha1": "eb149ea74cd0f88dd38b2c098db1d072266daeee"
|
| 80 |
+
},
|
| 81 |
+
"pretrained_model/adapter_config.json": {
|
| 82 |
+
"size": 1289,
|
| 83 |
+
"sha256": "8bc07da476d710f244485244991ee5c520548b38113ed67d722a3d00949ef602",
|
| 84 |
+
"git_blob_sha1": "17cefdb6991509b00f5d488a9ec23e1e40362c90"
|
| 85 |
+
},
|
| 86 |
+
"pretrained_model/adapter_model.safetensors": {
|
| 87 |
+
"size": 11893824,
|
| 88 |
+
"sha256": "e395f6b5b7ac9cd8b4c9725c9b173aff4dad613db0c11d06595b6b8cd3c59f19",
|
| 89 |
+
"git_blob_sha1": "accf3f111946dced1089f4d6f6ff82d424701615"
|
| 90 |
+
},
|
| 91 |
+
"pretrained_model/config.json": {
|
| 92 |
+
"size": 2464,
|
| 93 |
+
"sha256": "0e7fc3f642237f7b6e9bb9fbe717db993dd4a49627719fdbabd5ada829c6cda2",
|
| 94 |
+
"git_blob_sha1": "2f840e1895648f635f4529af999769de4ad8fb45"
|
| 95 |
+
},
|
| 96 |
+
"pretrained_model/policy_postprocessor.json": {
|
| 97 |
+
"size": 661,
|
| 98 |
+
"sha256": "93bcbf962881f5406a43eef0affb37d5eee3ba9b6f65fce61b99a32f706716d4",
|
| 99 |
+
"git_blob_sha1": "14cbcc995482bf60a127968560bd42e3fcb983a3"
|
| 100 |
+
},
|
| 101 |
+
"pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors": {
|
| 102 |
+
"size": 17412,
|
| 103 |
+
"sha256": "c112eacee7fadecc764bace19aa5d04a453b4ecd61201ed1e2bafdf6301142f6",
|
| 104 |
+
"git_blob_sha1": "4f7a8abca8c10728d6a415204a829288a565b85e"
|
| 105 |
+
},
|
| 106 |
+
"pretrained_model/policy_preprocessor.json": {
|
| 107 |
+
"size": 1903,
|
| 108 |
+
"sha256": "be3995db43072ba56d2befa7786da839651b23b0340da046b93b9d353bd75886",
|
| 109 |
+
"git_blob_sha1": "06423b53941bedfba31e444958c41468964e5fdc"
|
| 110 |
+
},
|
| 111 |
+
"pretrained_model/policy_preprocessor_step_5_normalizer_processor.safetensors": {
|
| 112 |
+
"size": 17412,
|
| 113 |
+
"sha256": "c112eacee7fadecc764bace19aa5d04a453b4ecd61201ed1e2bafdf6301142f6",
|
| 114 |
+
"git_blob_sha1": "4f7a8abca8c10728d6a415204a829288a565b85e"
|
| 115 |
+
},
|
| 116 |
+
"pretrained_model/train_config.json": {
|
| 117 |
+
"size": 7033,
|
| 118 |
+
"sha256": "e9a9c48d0e2f3fb746ca8cc0637496905a9948d920aabf5ca56745b685c6a00e",
|
| 119 |
+
"git_blob_sha1": "8753a4d7b2980e07c56897ea1430eaf8ef31c824"
|
| 120 |
+
},
|
| 121 |
+
"provenance/CONTRACT.md": {
|
| 122 |
+
"size": 7411,
|
| 123 |
+
"sha256": "945b0aecf29544d7a9cb932f32ad66e1d8689ccd361a646315ec0fe10c1e170b",
|
| 124 |
+
"git_blob_sha1": "db1d4a951d0932e0311e68f660990d813ee73e99"
|
| 125 |
+
},
|
| 126 |
+
"provenance/compat.py": {
|
| 127 |
+
"size": 2767,
|
| 128 |
+
"sha256": "4bebdd8618d8f8806a9ef1e4397a868d383f0573de1bdce8397166b6cafca1e6",
|
| 129 |
+
"git_blob_sha1": "7651f0ee18e56450856d5da1df501b6e51f59f6e"
|
| 130 |
+
},
|
| 131 |
+
"provenance/data_manifest.json": {
|
| 132 |
+
"size": 99989,
|
| 133 |
+
"sha256": "6cd80d70cea7dfd4792f2e0adbc0a539a6437895f05205776b10c505e80a8d28",
|
| 134 |
+
"git_blob_sha1": "12251fc7bb48ac67addacb9ba97835764360e6e6"
|
| 135 |
+
},
|
| 136 |
+
"provenance/effective_train_config.json": {
|
| 137 |
+
"size": 4865,
|
| 138 |
+
"sha256": "bfffe5eb898adef4a48a332420d32716ae11f2541a4d7eda553a0446cde892a4",
|
| 139 |
+
"git_blob_sha1": "1c2681e1f253bb9e48f35c5ab797cee83266d6f4"
|
| 140 |
+
},
|
| 141 |
+
"provenance/model_assets.json": {
|
| 142 |
+
"size": 543,
|
| 143 |
+
"sha256": "f84a535ecc5152c98c05bba8919147faef93a8a465f01a2a0a09581151553701",
|
| 144 |
+
"git_blob_sha1": "abfad3e3a6d43b57f5e11550d628521f39f4b3ae"
|
| 145 |
+
},
|
| 146 |
+
"provenance/policy.yaml": {
|
| 147 |
+
"size": 1063,
|
| 148 |
+
"sha256": "484518db0adb274b1d2ee3a46e6522f9699b22b569bfdbde638f35b30e5c0f5f",
|
| 149 |
+
"git_blob_sha1": "c6f03308ac5a2968ea0c9d3bebab37ee0291768c"
|
| 150 |
+
},
|
| 151 |
+
"provenance/total.yaml": {
|
| 152 |
+
"size": 6419,
|
| 153 |
+
"sha256": "8dd4460f46177eb46a1f461c83c4e40f0070a6218939ba06e53e2c6d41353415",
|
| 154 |
+
"git_blob_sha1": "e73e99da164451994ae4367740de446aedd8f137"
|
| 155 |
+
},
|
| 156 |
+
"provenance/training_step.json": {
|
| 157 |
+
"size": 21,
|
| 158 |
+
"sha256": "5d731361457b999e8a2bc8904308a37f1d219975360eaddb65c144e47846f90f",
|
| 159 |
+
"git_blob_sha1": "5cec056c8ba7f3c2e865a0f73ae59975a0503067"
|
| 160 |
+
}
|
| 161 |
+
}
|
| 162 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/README.md
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
tags:
|
| 4 |
+
- base_model:adapter:lerobot/smolvla_base
|
| 5 |
+
- lora
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# Model Card for Model ID
|
| 9 |
+
|
| 10 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
## Model Details
|
| 15 |
+
|
| 16 |
+
### Model Description
|
| 17 |
+
|
| 18 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
- **Developed by:** [More Information Needed]
|
| 23 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 24 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 25 |
+
- **Model type:** [More Information Needed]
|
| 26 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 27 |
+
- **License:** [More Information Needed]
|
| 28 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 29 |
+
|
| 30 |
+
### Model Sources [optional]
|
| 31 |
+
|
| 32 |
+
<!-- Provide the basic links for the model. -->
|
| 33 |
+
|
| 34 |
+
- **Repository:** [More Information Needed]
|
| 35 |
+
- **Paper [optional]:** [More Information Needed]
|
| 36 |
+
- **Demo [optional]:** [More Information Needed]
|
| 37 |
+
|
| 38 |
+
## Uses
|
| 39 |
+
|
| 40 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 41 |
+
|
| 42 |
+
### Direct Use
|
| 43 |
+
|
| 44 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 45 |
+
|
| 46 |
+
[More Information Needed]
|
| 47 |
+
|
| 48 |
+
### Downstream Use [optional]
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Out-of-Scope Use
|
| 55 |
+
|
| 56 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
## Bias, Risks, and Limitations
|
| 61 |
+
|
| 62 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
### Recommendations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 69 |
+
|
| 70 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 71 |
+
|
| 72 |
+
## How to Get Started with the Model
|
| 73 |
+
|
| 74 |
+
Use the code below to get started with the model.
|
| 75 |
+
|
| 76 |
+
[More Information Needed]
|
| 77 |
+
|
| 78 |
+
## Training Details
|
| 79 |
+
|
| 80 |
+
### Training Data
|
| 81 |
+
|
| 82 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 83 |
+
|
| 84 |
+
[More Information Needed]
|
| 85 |
+
|
| 86 |
+
### Training Procedure
|
| 87 |
+
|
| 88 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 89 |
+
|
| 90 |
+
#### Preprocessing [optional]
|
| 91 |
+
|
| 92 |
+
[More Information Needed]
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
#### Training Hyperparameters
|
| 96 |
+
|
| 97 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 98 |
+
|
| 99 |
+
#### Speeds, Sizes, Times [optional]
|
| 100 |
+
|
| 101 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 102 |
+
|
| 103 |
+
[More Information Needed]
|
| 104 |
+
|
| 105 |
+
## Evaluation
|
| 106 |
+
|
| 107 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 108 |
+
|
| 109 |
+
### Testing Data, Factors & Metrics
|
| 110 |
+
|
| 111 |
+
#### Testing Data
|
| 112 |
+
|
| 113 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 114 |
+
|
| 115 |
+
[More Information Needed]
|
| 116 |
+
|
| 117 |
+
#### Factors
|
| 118 |
+
|
| 119 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Metrics
|
| 124 |
+
|
| 125 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
### Results
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
#### Summary
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
## Model Examination [optional]
|
| 138 |
+
|
| 139 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 140 |
+
|
| 141 |
+
[More Information Needed]
|
| 142 |
+
|
| 143 |
+
## Environmental Impact
|
| 144 |
+
|
| 145 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 146 |
+
|
| 147 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 148 |
+
|
| 149 |
+
- **Hardware Type:** [More Information Needed]
|
| 150 |
+
- **Hours used:** [More Information Needed]
|
| 151 |
+
- **Cloud Provider:** [More Information Needed]
|
| 152 |
+
- **Compute Region:** [More Information Needed]
|
| 153 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 154 |
+
|
| 155 |
+
## Technical Specifications [optional]
|
| 156 |
+
|
| 157 |
+
### Model Architecture and Objective
|
| 158 |
+
|
| 159 |
+
[More Information Needed]
|
| 160 |
+
|
| 161 |
+
### Compute Infrastructure
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
#### Hardware
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Software
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
## Citation [optional]
|
| 174 |
+
|
| 175 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 176 |
+
|
| 177 |
+
**BibTeX:**
|
| 178 |
+
|
| 179 |
+
[More Information Needed]
|
| 180 |
+
|
| 181 |
+
**APA:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
## Glossary [optional]
|
| 186 |
+
|
| 187 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## More Information [optional]
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## Model Card Authors [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Contact
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
### Framework versions
|
| 203 |
+
|
| 204 |
+
- PEFT 0.20.0
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/adapter_config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "SmolVLAPolicy",
|
| 7 |
+
"parent_library": "lerobot.policies.smolvla.modeling_smolvla"
|
| 8 |
+
},
|
| 9 |
+
"base_model_name_or_path": "lerobot/smolvla_base",
|
| 10 |
+
"bias": "none",
|
| 11 |
+
"corda_config": null,
|
| 12 |
+
"ensure_weight_tying": false,
|
| 13 |
+
"eva_config": null,
|
| 14 |
+
"exclude_modules": null,
|
| 15 |
+
"fan_in_fan_out": false,
|
| 16 |
+
"inference_mode": true,
|
| 17 |
+
"init_lora_weights": true,
|
| 18 |
+
"layer_replication": null,
|
| 19 |
+
"layers_pattern": null,
|
| 20 |
+
"layers_to_transform": null,
|
| 21 |
+
"loftq_config": {},
|
| 22 |
+
"lora_alpha": 8,
|
| 23 |
+
"lora_bias": false,
|
| 24 |
+
"lora_dropout": 0.0,
|
| 25 |
+
"lora_ga_config": null,
|
| 26 |
+
"megatron_config": null,
|
| 27 |
+
"megatron_core": "megatron.core",
|
| 28 |
+
"modules_to_save": [],
|
| 29 |
+
"monteclora_config": null,
|
| 30 |
+
"peft_type": "LORA",
|
| 31 |
+
"peft_version": "0.20.0",
|
| 32 |
+
"qalora_group_size": 16,
|
| 33 |
+
"r": 64,
|
| 34 |
+
"rank_pattern": {},
|
| 35 |
+
"revision": null,
|
| 36 |
+
"target_modules": "(model\\.vlm_with_expert\\.lm_expert\\..*\\.(q|v)_proj|model\\.(state_proj|action_in_proj|action_out_proj|action_time_mlp_in|action_time_mlp_out))",
|
| 37 |
+
"target_parameters": null,
|
| 38 |
+
"task_type": null,
|
| 39 |
+
"trainable_token_indices": null,
|
| 40 |
+
"use_bdlora": null,
|
| 41 |
+
"use_dora": false,
|
| 42 |
+
"use_qalora": false,
|
| 43 |
+
"use_rslora": false,
|
| 44 |
+
"velora_config": null
|
| 45 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e395f6b5b7ac9cd8b4c9725c9b173aff4dad613db0c11d06595b6b8cd3c59f19
|
| 3 |
+
size 11893824
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/config.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "smolvla",
|
| 3 |
+
"n_obs_steps": 1,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.images.head": {
|
| 6 |
+
"type": "VISUAL",
|
| 7 |
+
"shape": [
|
| 8 |
+
3,
|
| 9 |
+
480,
|
| 10 |
+
640
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
"observation.images.left_wrist": {
|
| 14 |
+
"type": "VISUAL",
|
| 15 |
+
"shape": [
|
| 16 |
+
3,
|
| 17 |
+
480,
|
| 18 |
+
848
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"observation.images.right_wrist": {
|
| 22 |
+
"type": "VISUAL",
|
| 23 |
+
"shape": [
|
| 24 |
+
3,
|
| 25 |
+
480,
|
| 26 |
+
848
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
"observation.state": {
|
| 30 |
+
"type": "STATE",
|
| 31 |
+
"shape": [
|
| 32 |
+
20
|
| 33 |
+
]
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"output_features": {
|
| 37 |
+
"action": {
|
| 38 |
+
"type": "ACTION",
|
| 39 |
+
"shape": [
|
| 40 |
+
23
|
| 41 |
+
]
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"device": "cuda",
|
| 45 |
+
"use_amp": false,
|
| 46 |
+
"use_peft": true,
|
| 47 |
+
"push_to_hub": false,
|
| 48 |
+
"repo_id": null,
|
| 49 |
+
"private": null,
|
| 50 |
+
"tags": null,
|
| 51 |
+
"license": null,
|
| 52 |
+
"pretrained_path": "lerobot/smolvla_base",
|
| 53 |
+
"chunk_size": 50,
|
| 54 |
+
"n_action_steps": 50,
|
| 55 |
+
"normalization_mapping": {
|
| 56 |
+
"VISUAL": "IDENTITY",
|
| 57 |
+
"STATE": "MEAN_STD",
|
| 58 |
+
"ACTION": "MEAN_STD"
|
| 59 |
+
},
|
| 60 |
+
"max_state_dim": 32,
|
| 61 |
+
"max_action_dim": 32,
|
| 62 |
+
"resize_imgs_with_padding": [
|
| 63 |
+
512,
|
| 64 |
+
512
|
| 65 |
+
],
|
| 66 |
+
"empty_cameras": 0,
|
| 67 |
+
"adapt_to_pi_aloha": false,
|
| 68 |
+
"use_delta_joint_actions_aloha": false,
|
| 69 |
+
"tokenizer_max_length": 48,
|
| 70 |
+
"num_steps": 10,
|
| 71 |
+
"use_cache": true,
|
| 72 |
+
"freeze_vision_encoder": true,
|
| 73 |
+
"train_expert_only": false,
|
| 74 |
+
"train_state_proj": true,
|
| 75 |
+
"optimizer_lr": 0.001,
|
| 76 |
+
"optimizer_betas": [
|
| 77 |
+
0.9,
|
| 78 |
+
0.95
|
| 79 |
+
],
|
| 80 |
+
"optimizer_eps": 1e-08,
|
| 81 |
+
"optimizer_weight_decay": 1e-10,
|
| 82 |
+
"optimizer_grad_clip_norm": 10.0,
|
| 83 |
+
"scheduler_warmup_steps": 1000,
|
| 84 |
+
"scheduler_decay_steps": 20000,
|
| 85 |
+
"scheduler_decay_lr": 0.0001,
|
| 86 |
+
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 87 |
+
"load_vlm_weights": false,
|
| 88 |
+
"add_image_special_tokens": false,
|
| 89 |
+
"attention_mode": "cross_attn",
|
| 90 |
+
"prefix_length": -1,
|
| 91 |
+
"pad_language_to": "longest",
|
| 92 |
+
"num_expert_layers": -1,
|
| 93 |
+
"num_vlm_layers": 16,
|
| 94 |
+
"self_attn_every_n_layers": 2,
|
| 95 |
+
"expert_width_multiplier": 0.75,
|
| 96 |
+
"min_period": 0.004,
|
| 97 |
+
"max_period": 4.0,
|
| 98 |
+
"rtc_config": null,
|
| 99 |
+
"compile_model": false,
|
| 100 |
+
"compile_mode": "max-autotune"
|
| 101 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/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 |
+
23
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"norm_map": {
|
| 17 |
+
"VISUAL": "IDENTITY",
|
| 18 |
+
"STATE": "MEAN_STD",
|
| 19 |
+
"ACTION": "MEAN_STD"
|
| 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 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c112eacee7fadecc764bace19aa5d04a453b4ecd61201ed1e2bafdf6301142f6
|
| 3 |
+
size 17412
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/policy_preprocessor.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_preprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "rename_observations_processor",
|
| 6 |
+
"config": {
|
| 7 |
+
"rename_map": {}
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"registry_name": "to_batch_processor",
|
| 12 |
+
"config": {}
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"registry_name": "smolvla_new_line_processor",
|
| 16 |
+
"config": {}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"registry_name": "tokenizer_processor",
|
| 20 |
+
"config": {
|
| 21 |
+
"max_length": 48,
|
| 22 |
+
"task_key": "task",
|
| 23 |
+
"padding_side": "right",
|
| 24 |
+
"padding": "max_length",
|
| 25 |
+
"truncation": true,
|
| 26 |
+
"tokenizer_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct"
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"registry_name": "device_processor",
|
| 31 |
+
"config": {
|
| 32 |
+
"device": "cuda",
|
| 33 |
+
"float_dtype": null
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"registry_name": "normalizer_processor",
|
| 38 |
+
"config": {
|
| 39 |
+
"eps": 1e-08,
|
| 40 |
+
"features": {
|
| 41 |
+
"observation.images.head": {
|
| 42 |
+
"type": "VISUAL",
|
| 43 |
+
"shape": [
|
| 44 |
+
3,
|
| 45 |
+
480,
|
| 46 |
+
640
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"observation.images.left_wrist": {
|
| 50 |
+
"type": "VISUAL",
|
| 51 |
+
"shape": [
|
| 52 |
+
3,
|
| 53 |
+
480,
|
| 54 |
+
848
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"observation.images.right_wrist": {
|
| 58 |
+
"type": "VISUAL",
|
| 59 |
+
"shape": [
|
| 60 |
+
3,
|
| 61 |
+
480,
|
| 62 |
+
848
|
| 63 |
+
]
|
| 64 |
+
},
|
| 65 |
+
"observation.state": {
|
| 66 |
+
"type": "STATE",
|
| 67 |
+
"shape": [
|
| 68 |
+
20
|
| 69 |
+
]
|
| 70 |
+
},
|
| 71 |
+
"action": {
|
| 72 |
+
"type": "ACTION",
|
| 73 |
+
"shape": [
|
| 74 |
+
23
|
| 75 |
+
]
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
"norm_map": {
|
| 79 |
+
"VISUAL": "IDENTITY",
|
| 80 |
+
"STATE": "MEAN_STD",
|
| 81 |
+
"ACTION": "MEAN_STD"
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
"state_file": "policy_preprocessor_step_5_normalizer_processor.safetensors"
|
| 85 |
+
}
|
| 86 |
+
]
|
| 87 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/policy_preprocessor_step_5_normalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c112eacee7fadecc764bace19aa5d04a453b4ecd61201ed1e2bafdf6301142f6
|
| 3 |
+
size 17412
|
50_demos/smolvla/checkpoints/checkpoint-15K/pretrained_model/train_config.json
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": {
|
| 3 |
+
"repo_id": "RwH-Lab/kuavo-skill-50demos-10hz-state20-futuretorso",
|
| 4 |
+
"root": "/home/work/mntvol/data/RwH-Kuavo-v2/50_demos/skill_10hz_state20_futuretorso_policy_chunks",
|
| 5 |
+
"episodes": null,
|
| 6 |
+
"image_transforms": {
|
| 7 |
+
"enable": false,
|
| 8 |
+
"max_num_transforms": 3,
|
| 9 |
+
"random_order": false,
|
| 10 |
+
"tfs": {
|
| 11 |
+
"brightness": {
|
| 12 |
+
"weight": 1.0,
|
| 13 |
+
"type": "ColorJitter",
|
| 14 |
+
"kwargs": {
|
| 15 |
+
"brightness": [
|
| 16 |
+
0.8,
|
| 17 |
+
1.2
|
| 18 |
+
]
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
"contrast": {
|
| 22 |
+
"weight": 1.0,
|
| 23 |
+
"type": "ColorJitter",
|
| 24 |
+
"kwargs": {
|
| 25 |
+
"contrast": [
|
| 26 |
+
0.8,
|
| 27 |
+
1.2
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"saturation": {
|
| 32 |
+
"weight": 1.0,
|
| 33 |
+
"type": "ColorJitter",
|
| 34 |
+
"kwargs": {
|
| 35 |
+
"saturation": [
|
| 36 |
+
0.5,
|
| 37 |
+
1.5
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"hue": {
|
| 42 |
+
"weight": 1.0,
|
| 43 |
+
"type": "ColorJitter",
|
| 44 |
+
"kwargs": {
|
| 45 |
+
"hue": [
|
| 46 |
+
-0.05,
|
| 47 |
+
0.05
|
| 48 |
+
]
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"sharpness": {
|
| 52 |
+
"weight": 1.0,
|
| 53 |
+
"type": "SharpnessJitter",
|
| 54 |
+
"kwargs": {
|
| 55 |
+
"sharpness": [
|
| 56 |
+
0.5,
|
| 57 |
+
1.5
|
| 58 |
+
]
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
"affine": {
|
| 62 |
+
"weight": 1.0,
|
| 63 |
+
"type": "RandomAffine",
|
| 64 |
+
"kwargs": {
|
| 65 |
+
"degrees": [
|
| 66 |
+
-5.0,
|
| 67 |
+
5.0
|
| 68 |
+
],
|
| 69 |
+
"translate": [
|
| 70 |
+
0.05,
|
| 71 |
+
0.05
|
| 72 |
+
]
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"revision": null,
|
| 78 |
+
"use_imagenet_stats": true,
|
| 79 |
+
"video_backend": "pyav",
|
| 80 |
+
"return_uint8": false,
|
| 81 |
+
"streaming": false
|
| 82 |
+
},
|
| 83 |
+
"env": null,
|
| 84 |
+
"policy": {
|
| 85 |
+
"type": "smolvla",
|
| 86 |
+
"n_obs_steps": 1,
|
| 87 |
+
"input_features": {
|
| 88 |
+
"observation.images.head": {
|
| 89 |
+
"type": "VISUAL",
|
| 90 |
+
"shape": [
|
| 91 |
+
3,
|
| 92 |
+
480,
|
| 93 |
+
640
|
| 94 |
+
]
|
| 95 |
+
},
|
| 96 |
+
"observation.images.left_wrist": {
|
| 97 |
+
"type": "VISUAL",
|
| 98 |
+
"shape": [
|
| 99 |
+
3,
|
| 100 |
+
480,
|
| 101 |
+
848
|
| 102 |
+
]
|
| 103 |
+
},
|
| 104 |
+
"observation.images.right_wrist": {
|
| 105 |
+
"type": "VISUAL",
|
| 106 |
+
"shape": [
|
| 107 |
+
3,
|
| 108 |
+
480,
|
| 109 |
+
848
|
| 110 |
+
]
|
| 111 |
+
},
|
| 112 |
+
"observation.state": {
|
| 113 |
+
"type": "STATE",
|
| 114 |
+
"shape": [
|
| 115 |
+
20
|
| 116 |
+
]
|
| 117 |
+
}
|
| 118 |
+
},
|
| 119 |
+
"output_features": {
|
| 120 |
+
"action": {
|
| 121 |
+
"type": "ACTION",
|
| 122 |
+
"shape": [
|
| 123 |
+
23
|
| 124 |
+
]
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"device": "cuda",
|
| 128 |
+
"use_amp": false,
|
| 129 |
+
"use_peft": true,
|
| 130 |
+
"push_to_hub": false,
|
| 131 |
+
"repo_id": null,
|
| 132 |
+
"private": null,
|
| 133 |
+
"tags": null,
|
| 134 |
+
"license": null,
|
| 135 |
+
"pretrained_path": "lerobot/smolvla_base",
|
| 136 |
+
"chunk_size": 50,
|
| 137 |
+
"n_action_steps": 50,
|
| 138 |
+
"normalization_mapping": {
|
| 139 |
+
"VISUAL": "IDENTITY",
|
| 140 |
+
"STATE": "MEAN_STD",
|
| 141 |
+
"ACTION": "MEAN_STD"
|
| 142 |
+
},
|
| 143 |
+
"max_state_dim": 32,
|
| 144 |
+
"max_action_dim": 32,
|
| 145 |
+
"resize_imgs_with_padding": [
|
| 146 |
+
512,
|
| 147 |
+
512
|
| 148 |
+
],
|
| 149 |
+
"empty_cameras": 0,
|
| 150 |
+
"adapt_to_pi_aloha": false,
|
| 151 |
+
"use_delta_joint_actions_aloha": false,
|
| 152 |
+
"tokenizer_max_length": 48,
|
| 153 |
+
"num_steps": 10,
|
| 154 |
+
"use_cache": true,
|
| 155 |
+
"freeze_vision_encoder": true,
|
| 156 |
+
"train_expert_only": false,
|
| 157 |
+
"train_state_proj": true,
|
| 158 |
+
"optimizer_lr": 0.001,
|
| 159 |
+
"optimizer_betas": [
|
| 160 |
+
0.9,
|
| 161 |
+
0.95
|
| 162 |
+
],
|
| 163 |
+
"optimizer_eps": 1e-08,
|
| 164 |
+
"optimizer_weight_decay": 1e-10,
|
| 165 |
+
"optimizer_grad_clip_norm": 10.0,
|
| 166 |
+
"scheduler_warmup_steps": 1000,
|
| 167 |
+
"scheduler_decay_steps": 20000,
|
| 168 |
+
"scheduler_decay_lr": 0.0001,
|
| 169 |
+
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 170 |
+
"load_vlm_weights": false,
|
| 171 |
+
"add_image_special_tokens": false,
|
| 172 |
+
"attention_mode": "cross_attn",
|
| 173 |
+
"prefix_length": -1,
|
| 174 |
+
"pad_language_to": "longest",
|
| 175 |
+
"num_expert_layers": -1,
|
| 176 |
+
"num_vlm_layers": 16,
|
| 177 |
+
"self_attn_every_n_layers": 2,
|
| 178 |
+
"expert_width_multiplier": 0.75,
|
| 179 |
+
"min_period": 0.004,
|
| 180 |
+
"max_period": 4.0,
|
| 181 |
+
"rtc_config": null,
|
| 182 |
+
"compile_model": false,
|
| 183 |
+
"compile_mode": "max-autotune"
|
| 184 |
+
},
|
| 185 |
+
"output_dir": "/home/work/mntvol/RwH-Kuavo_ckpt/50_demos/smolvla",
|
| 186 |
+
"job_name": "rwh_50demos_smolvla",
|
| 187 |
+
"resume": false,
|
| 188 |
+
"seed": 42,
|
| 189 |
+
"cudnn_deterministic": false,
|
| 190 |
+
"num_workers": 4,
|
| 191 |
+
"batch_size": 64,
|
| 192 |
+
"prefetch_factor": 4,
|
| 193 |
+
"persistent_workers": true,
|
| 194 |
+
"steps": 20000,
|
| 195 |
+
"eval_freq": 0,
|
| 196 |
+
"log_freq": 100,
|
| 197 |
+
"tolerance_s": 0.0001,
|
| 198 |
+
"save_checkpoint": true,
|
| 199 |
+
"save_freq": 5000,
|
| 200 |
+
"use_policy_training_preset": true,
|
| 201 |
+
"optimizer": {
|
| 202 |
+
"type": "adamw",
|
| 203 |
+
"lr": 0.001,
|
| 204 |
+
"weight_decay": 1e-10,
|
| 205 |
+
"grad_clip_norm": 10.0,
|
| 206 |
+
"betas": [
|
| 207 |
+
0.9,
|
| 208 |
+
0.95
|
| 209 |
+
],
|
| 210 |
+
"eps": 1e-08
|
| 211 |
+
},
|
| 212 |
+
"scheduler": {
|
| 213 |
+
"type": "cosine_decay_with_warmup",
|
| 214 |
+
"num_warmup_steps": 1000,
|
| 215 |
+
"num_decay_steps": 20000,
|
| 216 |
+
"peak_lr": 0.001,
|
| 217 |
+
"decay_lr": 0.0001
|
| 218 |
+
},
|
| 219 |
+
"eval": {
|
| 220 |
+
"n_episodes": 50,
|
| 221 |
+
"batch_size": 50,
|
| 222 |
+
"use_async_envs": true
|
| 223 |
+
},
|
| 224 |
+
"wandb": {
|
| 225 |
+
"enable": false,
|
| 226 |
+
"disable_artifact": true,
|
| 227 |
+
"project": "RwH-Kuavo-50demos",
|
| 228 |
+
"entity": null,
|
| 229 |
+
"notes": null,
|
| 230 |
+
"run_id": null,
|
| 231 |
+
"mode": null,
|
| 232 |
+
"add_tags": true
|
| 233 |
+
},
|
| 234 |
+
"peft": {
|
| 235 |
+
"target_modules": null,
|
| 236 |
+
"full_training_modules": null,
|
| 237 |
+
"method_type": "LORA",
|
| 238 |
+
"init_type": null,
|
| 239 |
+
"r": 64
|
| 240 |
+
},
|
| 241 |
+
"use_rabc": false,
|
| 242 |
+
"rabc_progress_path": null,
|
| 243 |
+
"rabc_kappa": 0.01,
|
| 244 |
+
"rabc_epsilon": 1e-06,
|
| 245 |
+
"rabc_head_mode": "sparse",
|
| 246 |
+
"rename_map": {},
|
| 247 |
+
"checkpoint_path": null
|
| 248 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/CONTRACT.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Kuavo 50 demos — 실행 중인 학습 계약
|
| 2 |
+
|
| 3 |
+
사용자 승인에 따라 네 정책의 20k 본학습을 실행했다. 아래는 실행 계약이며, 20k 완료 보고가 아니다.
|
| 4 |
+
|
| 5 |
+
## 경로와 작업
|
| 6 |
+
|
| 7 |
+
- Output root: `/home/work/mntvol/RwH-Kuavo_ckpt/50_demos/`
|
| 8 |
+
- 정책별 출력: `<root>/{smolvla,multi_task_dit,pi05,gr00t}/checkpoints/`
|
| 9 |
+
- 현재 실행 로그·설정: `<root>/_runs/full_20261025_235828/`
|
| 10 |
+
- 현재 데이터·language·실행 검증: `<root>/_audit/policy_windows_20261025_235658/`
|
| 11 |
+
- tmux: `rwh-50demos-20261025-233840`
|
| 12 |
+
- 설정/코드: `/home/work/workspace/RwH-Kuavo_V2/RwH/configs/50_demos/`
|
| 13 |
+
- Notion: https://app.notion.com/p/40463918d42a80d18dd6c5d872c3f212
|
| 14 |
+
- GPU 1: Pi0.5. GPU 2: GR00T N1.5. GPU 3: SmolVLA + MultiTask-DiT 동시 실행.
|
| 15 |
+
- 정책마다 독립 프로세스이며 각각 global batch 64다. GPU 0은 사용하지 않는다.
|
| 16 |
+
- 재실행으로 중복 작업이 생기지 않도록 active tmux session 검사와 launch lock을 추가했다.
|
| 17 |
+
|
| 18 |
+
## 공통 계약
|
| 19 |
+
|
| 20 |
+
- fps 10, seed 42, batch 64, accumulation 1, steps 20,000.
|
| 21 |
+
- checkpoint 5k/10k/15k/20k, optimizer·scheduler state 저장, last symlink.
|
| 22 |
+
- validation split 없음, 환경 eval/rollout 없음. 로컬 로그 사용, W&B 비활성화.
|
| 23 |
+
- 현재 launcher는 fresh run용이다. 자동 재개/자동 실패 복구를 지원하지 않는다.
|
| 24 |
+
- 데이터: `RwH-Lab/kuavo-dataset-skill`, revision `fdb2779c71434db093fe899a2b7c6a6b4804e3d8`.
|
| 25 |
+
- 원본: `/home/work/mntvol/data/RwH-Kuavo-v2/kuavo-dataset-skill` — 50 episodes, 90,820 frames, 30fps, task 7종.
|
| 26 |
+
- 파생: `/home/work/mntvol/data/RwH-Kuavo-v2/50_demos/skill_10hz_state20_futuretorso_policy_chunks` — task 구간 264개, 30,288 frames, 10fps.
|
| 27 |
+
- 원본 episode마다 매 3번째 프레임을 선택한다. task 경계는 샘플링 전에 검출한다.
|
| 28 |
+
- 영상 3개(head/left_wrist/right_wrist)는 원본 30fps mp4 링크를 10Hz 시각으로 디코딩한다. 원본 디렉터리가 필요하다.
|
| 29 |
+
|
| 30 |
+
## State와 action
|
| 31 |
+
|
| 32 |
+
- State 20D: 현재 torso 4 + 양팔 14 + gripper 2. rack 좌표와 base velocity를 state에 넣지 않는다.
|
| 33 |
+
- Action 23D: 다음 실제 torso state 4 + 원본 팔·gripper 명령 16 + 원본 base cmd_vel 3.
|
| 34 |
+
- torso는 모든 episode에서 일관되게 q(t+1)로 대체한다. H개 chunk는 q(t+1)..q(t+H)다.
|
| 35 |
+
- 원본 validity=false이고 저장값이 0인 base 15,263프레임은 합의에 따라 0 명령으로 사용했다.
|
| 36 |
+
- task 마지막 프레임의 torso는 미래 state가 없어 무효 표시하며 학습 시작점/target에 들어가지 않도록 제한한다.
|
| 37 |
+
|
| 38 |
+
## 모델 기본값과 일정
|
| 39 |
+
|
| 40 |
+
| 정책 | 학습 방식 | peak LR | horizon / 실행 길이 |
|
| 41 |
+
|---|---|---:|---|
|
| 42 |
+
| SmolVLA | LoRA r64 | 1e-3 | 50 / 50 |
|
| 43 |
+
| MultiTask-DiT | CLIP pretrained + action 모델 학습 | 2e-5 | 32 / 24 |
|
| 44 |
+
| Pi0.5 | LoRA r16 | 2.5e-4 | 50 / 50 |
|
| 45 |
+
| GR00T N1.5 | LLM·vision freeze, projector·action head 학습 | 1e-4 | 16 / 16 |
|
| 46 |
+
|
| 47 |
+
- DiT: 관측 2개, action offsets -1..30, vision LR 2e-6, text freeze, cosine/warmup 0.
|
| 48 |
+
- 다른 세 정책: warmup 1,000, cosine decay 20,000, 최종 LR=peak의 0.1배.
|
| 49 |
+
- GR00T preset에 고정된 10k scheduler는 20k에 맞춰 명시했다.
|
| 50 |
+
- Pi0.5: bf16, gradient checkpointing, absolute actions, 기본 max-autotune compile 유지.
|
| 51 |
+
- 모델 revision은 `train/model_assets.json`에 기록했고, 본학습은 캐시의 해당 revision을 offline으로 사용한다.
|
| 52 |
+
- LeTools commit `6d2002613241ae2a32c5d8fd753f80caa1383fba`.
|
| 53 |
+
- LeRobot commit `a07f22e22ce88cddff1f6eddced9ea008fbfc37c`.
|
| 54 |
+
|
| 55 |
+
## 정책별 샘플링과 language
|
| 56 |
+
|
| 57 |
+
공통 최대 50프레임 제한을 제거하고 각 정책의 실제 history/예측 offset으로 정했다.
|
| 58 |
+
길이 L인 task 구간에서 시작점은 range(history, L-future)다.
|
| 59 |
+
future는 torso의 한 프레임 앞 target까지 포함한 최대 미래 offset이다.
|
| 60 |
+
|
| 61 |
+
| 정책 | history / future | 시작점 수 | 유효 task 구간 | epoch당 batch | 20k epoch(drop_last) |
|
| 62 |
+
|---|---|---:|---:|---:|---:|
|
| 63 |
+
| SmolVLA | 0 / 50 | 17,680 | 214 / 264 | 276 | 72.46 |
|
| 64 |
+
| Pi0.5 | 0 / 50 | 17,680 | 214 / 264 | 276 | 72.46 |
|
| 65 |
+
| MultiTask-DiT | 1 / 31 | 21,865 | 257 / 264 | 341 | 58.65 |
|
| 66 |
+
| GR00T N1.5 | 0 / 16 | 26,064 | 264 / 264 | 407 | 49.14 |
|
| 67 |
+
|
| 68 |
+
- 각 유효 구간의 마지막 시작점에서 마지막 torso target이 task의 마지막 state와 정확히 일치함을 전수 검사했다.
|
| 69 |
+
- 원본 에피소드 50개와 task 7종은 모두 유지한다. 다만 모델보다 짧은 task 구간에는 유효한 full chunk가 없다.
|
| 70 |
+
- 독립 generator seed=42+epoch, drop_last=true로 각 update의 batch 64를 유지한다. 모델별 시작점 순서는 결정적이다.
|
| 71 |
+
- frame.task_index → meta/tasks.parquet → batch['task']. 별도 subtask_index나 task.language 컬럼은 없다.
|
| 72 |
+
- 원본 90,820개와 파생 30,288개 state의 language 누락·미정의 task index는 0개다.
|
| 73 |
+
- 전체 state의 native 문장 조회, 정책별 모든 시작점의 경계, 실제 processor의 7종 혼합 batch 토큰을 검사했다.
|
| 74 |
+
- 매 batch의 language 연결과 boundary padding을 검사하며 위반하면 update 전에 실패한다.
|
| 75 |
+
|
| 76 |
+
## 필요한 전처리 보정
|
| 77 |
+
|
| 78 |
+
- GR00T·DiT: 서로 다른 카메라 해상도를 비율 보존 224×224 resize/pad로 통일한다.
|
| 79 |
+
- GR00T: batch 첫 task 문장을 재사용하던 upstream processor를 compat.py에서 보정했다.
|
| 80 |
+
- Pi0.5: 베이스 checkpoint의 오래된 processor registry 이름 대신 현재 코드·새 통계로 processor를 구성한다.
|
| 81 |
+
- vendored LeTools는 수정하지 않았다. 반드시 프로젝트 `train/launch.sh`를 통해 실행한다.
|
| 82 |
+
- GR00T 배포에서는 compat.install('gr00t')가 필요하다. GR00T·DiT의 실시간 영상에도 같은 letterbox 처리가 필요하다.
|
| 83 |
+
|
| 84 |
+
## 검증 범위와 실제 제한
|
| 85 |
+
|
| 86 |
+
- `data_validation.json`: 전체 수치 매핑·통계, 영상 33개 이미지 일치, native chunk/history 검사.
|
| 87 |
+
- `language_validation.json`: 모든 state/language, 모든 시작점의 task 경계와 혼합 batch 토큰 검사.
|
| 88 |
+
- `launch_validation.json`: 실제 네 CUDA PID/GPU, 진행 step, finite loss/gradient, effective config, LR/scheduler/seed/output, 모델 revision 검사.
|
| 89 |
+
- 이 검증은 실행 진행 확인이다. 최초 본학습 checkpoint는 5k이며 아직 저장 완료를 확인한 단계는 아니다.
|
| 90 |
+
- 의미상 영상 라벨 재판정, 로봇 rollout 성공률, 20k 수렴은 검증하지 않았다.
|
| 91 |
+
- 수정한 문제: 제가 추가한 공통 50프레임 기준은 짧은 horizon 모델의 task 말미 정답을 누락시켰다. 초기 실행을 종료하고 정책별 기준으로 수정·검증하여 네 정책을 새로 시작했다. 데이터 264개 파일은 이전과 해시가 같다.
|
| 92 |
+
- torso label은 원본 명령의 복원이 아니라 미래 실제 위치를 쓰는 대체 label이다.
|
| 93 |
+
- base 0 합의는 원본 ROSbag을 통한 모든 구간의 실제 정지 입증과 구분한다.
|
| 94 |
+
- 자동 resume는 아직 지원하지 않는다. 재개 시 sampler·normalization·processor 계약을 유지해야 한다.
|
| 95 |
+
|
| 96 |
+
## 테스트 산출물 삭제
|
| 97 |
+
|
| 98 |
+
사용자 요청에 따라 이전 smoke/실패 테스트 checkpoint 약 28GB, 이전 테스트 로그/보고서, dry-run 산출물을 삭제했다.
|
| 99 |
+
삭제 목록은 현재 audit 디렉터리의 cleanup_manifest.json에 기록했다.
|
| 100 |
+
원본/학습용 데이터, pretrained cache, 본학습과 새 본학습 검증 기록은 유지한다.
|
| 101 |
+
테스트 소스 코드는 재현용 코드이므로 유지한다.
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/compat.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Runtime compatibility fixes for this pinned LeTools revision.
|
| 2 |
+
|
| 3 |
+
Import/install this module before loading saved GR00T processors for inference.
|
| 4 |
+
"""
|
| 5 |
+
import copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
def letterbox224(image):
|
| 9 |
+
from torchvision.transforms import functional as F
|
| 10 |
+
height, width = image.shape[-2:]
|
| 11 |
+
scale = 224 / max(height, width)
|
| 12 |
+
new_h, new_w = max(1, round(height * scale)), max(1, round(width * scale))
|
| 13 |
+
image = F.resize(image, [new_h, new_w], antialias=True)
|
| 14 |
+
left, top = (224 - new_w) // 2, (224 - new_h) // 2
|
| 15 |
+
return F.pad(image, [left, top, 224 - new_w - left, 224 - new_h - top])
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def install(policy):
|
| 19 |
+
if policy != "gr00t":
|
| 20 |
+
return
|
| 21 |
+
from lerobot.policies.groot.processor_groot import GrootPackInputsStep, GrootEagleEncodeStep
|
| 22 |
+
from lerobot.types import TransitionKey as K
|
| 23 |
+
if getattr(GrootPackInputsStep, "_rwh_prompts_fixed", False):
|
| 24 |
+
return
|
| 25 |
+
original_pack = GrootPackInputsStep.__call__
|
| 26 |
+
original_encode = GrootEagleEncodeStep.__call__
|
| 27 |
+
|
| 28 |
+
def pack(self, transition):
|
| 29 |
+
prompts = transition.get(K.COMPLEMENTARY_DATA, {}).get(self.language_key)
|
| 30 |
+
result = original_pack(self, transition)
|
| 31 |
+
if isinstance(prompts, list):
|
| 32 |
+
if self.formalize_language:
|
| 33 |
+
prompts = ["".join(c for c in p.lower() if c.isalnum() or c.isspace()) for p in prompts]
|
| 34 |
+
result[K.COMPLEMENTARY_DATA]["language"] = prompts
|
| 35 |
+
return result
|
| 36 |
+
|
| 37 |
+
def encode(self, transition):
|
| 38 |
+
obs = transition.get(K.OBSERVATION, {})
|
| 39 |
+
comp = transition.get(K.COMPLEMENTARY_DATA, {})
|
| 40 |
+
prompts = comp.get("language")
|
| 41 |
+
if not isinstance(prompts, list) or "video" not in obs:
|
| 42 |
+
return original_encode(self, transition)
|
| 43 |
+
if len(prompts) != obs["video"].shape[0]:
|
| 44 |
+
raise ValueError("One task prompt is required for every GR00T batch sample")
|
| 45 |
+
contents = []
|
| 46 |
+
for i, prompt in enumerate(prompts):
|
| 47 |
+
one = {K.OBSERVATION: {"video": obs["video"][i:i + 1]},
|
| 48 |
+
K.COMPLEMENTARY_DATA: {"language": prompt}}
|
| 49 |
+
encoded = original_encode(self, one)
|
| 50 |
+
contents.extend(encoded[K.COMPLEMENTARY_DATA]["eagle_content"])
|
| 51 |
+
comp["eagle_content"] = contents
|
| 52 |
+
return transition
|
| 53 |
+
|
| 54 |
+
GrootPackInputsStep.__call__ = pack
|
| 55 |
+
GrootPackInputsStep._rwh_prompts_fixed = True
|
| 56 |
+
GrootEagleEncodeStep.__call__ = encode
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def adapt_dataset(dataset):
|
| 60 |
+
if dataset.image_transforms is not None:
|
| 61 |
+
raise ValueError("Expected unaugmented images before deterministic letterboxing")
|
| 62 |
+
dataset.set_image_transforms(letterbox224)
|
| 63 |
+
dataset.meta.info = copy.deepcopy(dataset.meta.info)
|
| 64 |
+
for key in dataset.meta.camera_keys:
|
| 65 |
+
dataset.meta.info["features"][key]["shape"] = [224, 224, 3]
|
| 66 |
+
return dataset
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/data_manifest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/effective_train_config.json
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": {
|
| 3 |
+
"repo_id": "RwH-Lab/kuavo-skill-50demos-10hz-state20-futuretorso",
|
| 4 |
+
"root": "/home/work/mntvol/data/RwH-Kuavo-v2/50_demos/skill_10hz_state20_futuretorso_policy_chunks",
|
| 5 |
+
"episodes": null,
|
| 6 |
+
"image_transforms": {
|
| 7 |
+
"enable": false,
|
| 8 |
+
"max_num_transforms": 3,
|
| 9 |
+
"random_order": false,
|
| 10 |
+
"tfs": {
|
| 11 |
+
"brightness": {
|
| 12 |
+
"weight": 1.0,
|
| 13 |
+
"type": "ColorJitter",
|
| 14 |
+
"kwargs": {
|
| 15 |
+
"brightness": [
|
| 16 |
+
0.8,
|
| 17 |
+
1.2
|
| 18 |
+
]
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
"contrast": {
|
| 22 |
+
"weight": 1.0,
|
| 23 |
+
"type": "ColorJitter",
|
| 24 |
+
"kwargs": {
|
| 25 |
+
"contrast": [
|
| 26 |
+
0.8,
|
| 27 |
+
1.2
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"saturation": {
|
| 32 |
+
"weight": 1.0,
|
| 33 |
+
"type": "ColorJitter",
|
| 34 |
+
"kwargs": {
|
| 35 |
+
"saturation": [
|
| 36 |
+
0.5,
|
| 37 |
+
1.5
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"hue": {
|
| 42 |
+
"weight": 1.0,
|
| 43 |
+
"type": "ColorJitter",
|
| 44 |
+
"kwargs": {
|
| 45 |
+
"hue": [
|
| 46 |
+
-0.05,
|
| 47 |
+
0.05
|
| 48 |
+
]
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"sharpness": {
|
| 52 |
+
"weight": 1.0,
|
| 53 |
+
"type": "SharpnessJitter",
|
| 54 |
+
"kwargs": {
|
| 55 |
+
"sharpness": [
|
| 56 |
+
0.5,
|
| 57 |
+
1.5
|
| 58 |
+
]
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
"affine": {
|
| 62 |
+
"weight": 1.0,
|
| 63 |
+
"type": "RandomAffine",
|
| 64 |
+
"kwargs": {
|
| 65 |
+
"degrees": [
|
| 66 |
+
-5.0,
|
| 67 |
+
5.0
|
| 68 |
+
],
|
| 69 |
+
"translate": [
|
| 70 |
+
0.05,
|
| 71 |
+
0.05
|
| 72 |
+
]
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"revision": null,
|
| 78 |
+
"use_imagenet_stats": true,
|
| 79 |
+
"video_backend": "pyav",
|
| 80 |
+
"return_uint8": false,
|
| 81 |
+
"streaming": false
|
| 82 |
+
},
|
| 83 |
+
"env": null,
|
| 84 |
+
"policy": {
|
| 85 |
+
"type": "smolvla",
|
| 86 |
+
"n_obs_steps": 1,
|
| 87 |
+
"input_features": {},
|
| 88 |
+
"output_features": {},
|
| 89 |
+
"device": "cuda",
|
| 90 |
+
"use_amp": false,
|
| 91 |
+
"use_peft": false,
|
| 92 |
+
"push_to_hub": false,
|
| 93 |
+
"repo_id": null,
|
| 94 |
+
"private": null,
|
| 95 |
+
"tags": null,
|
| 96 |
+
"license": null,
|
| 97 |
+
"pretrained_path": "lerobot/smolvla_base",
|
| 98 |
+
"chunk_size": 50,
|
| 99 |
+
"n_action_steps": 50,
|
| 100 |
+
"normalization_mapping": {
|
| 101 |
+
"VISUAL": "IDENTITY",
|
| 102 |
+
"STATE": "MEAN_STD",
|
| 103 |
+
"ACTION": "MEAN_STD"
|
| 104 |
+
},
|
| 105 |
+
"max_state_dim": 32,
|
| 106 |
+
"max_action_dim": 32,
|
| 107 |
+
"resize_imgs_with_padding": [
|
| 108 |
+
512,
|
| 109 |
+
512
|
| 110 |
+
],
|
| 111 |
+
"empty_cameras": 0,
|
| 112 |
+
"adapt_to_pi_aloha": false,
|
| 113 |
+
"use_delta_joint_actions_aloha": false,
|
| 114 |
+
"tokenizer_max_length": 48,
|
| 115 |
+
"num_steps": 10,
|
| 116 |
+
"use_cache": true,
|
| 117 |
+
"freeze_vision_encoder": true,
|
| 118 |
+
"train_expert_only": false,
|
| 119 |
+
"train_state_proj": true,
|
| 120 |
+
"optimizer_lr": 0.001,
|
| 121 |
+
"optimizer_betas": [
|
| 122 |
+
0.9,
|
| 123 |
+
0.95
|
| 124 |
+
],
|
| 125 |
+
"optimizer_eps": 1e-08,
|
| 126 |
+
"optimizer_weight_decay": 1e-10,
|
| 127 |
+
"optimizer_grad_clip_norm": 10.0,
|
| 128 |
+
"scheduler_warmup_steps": 1000,
|
| 129 |
+
"scheduler_decay_steps": 20000,
|
| 130 |
+
"scheduler_decay_lr": 0.0001,
|
| 131 |
+
"vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
|
| 132 |
+
"load_vlm_weights": false,
|
| 133 |
+
"add_image_special_tokens": false,
|
| 134 |
+
"attention_mode": "cross_attn",
|
| 135 |
+
"prefix_length": -1,
|
| 136 |
+
"pad_language_to": "longest",
|
| 137 |
+
"num_expert_layers": -1,
|
| 138 |
+
"num_vlm_layers": 16,
|
| 139 |
+
"self_attn_every_n_layers": 2,
|
| 140 |
+
"expert_width_multiplier": 0.75,
|
| 141 |
+
"min_period": 0.004,
|
| 142 |
+
"max_period": 4.0,
|
| 143 |
+
"rtc_config": null,
|
| 144 |
+
"compile_model": false,
|
| 145 |
+
"compile_mode": "max-autotune"
|
| 146 |
+
},
|
| 147 |
+
"output_dir": "/home/work/mntvol/RwH-Kuavo_ckpt/50_demos/smolvla",
|
| 148 |
+
"job_name": "rwh_50demos_smolvla",
|
| 149 |
+
"resume": false,
|
| 150 |
+
"seed": 42,
|
| 151 |
+
"cudnn_deterministic": false,
|
| 152 |
+
"num_workers": 4,
|
| 153 |
+
"batch_size": 64,
|
| 154 |
+
"prefetch_factor": 4,
|
| 155 |
+
"persistent_workers": true,
|
| 156 |
+
"steps": 20000,
|
| 157 |
+
"eval_freq": 0,
|
| 158 |
+
"log_freq": 100,
|
| 159 |
+
"tolerance_s": 0.0001,
|
| 160 |
+
"save_checkpoint": true,
|
| 161 |
+
"save_freq": 5000,
|
| 162 |
+
"use_policy_training_preset": true,
|
| 163 |
+
"optimizer": {
|
| 164 |
+
"type": "adamw",
|
| 165 |
+
"lr": 0.001,
|
| 166 |
+
"weight_decay": 1e-10,
|
| 167 |
+
"grad_clip_norm": 10.0,
|
| 168 |
+
"betas": [
|
| 169 |
+
0.9,
|
| 170 |
+
0.95
|
| 171 |
+
],
|
| 172 |
+
"eps": 1e-08
|
| 173 |
+
},
|
| 174 |
+
"scheduler": {
|
| 175 |
+
"type": "cosine_decay_with_warmup",
|
| 176 |
+
"num_warmup_steps": 1000,
|
| 177 |
+
"num_decay_steps": 20000,
|
| 178 |
+
"peak_lr": 0.001,
|
| 179 |
+
"decay_lr": 0.0001
|
| 180 |
+
},
|
| 181 |
+
"eval": {
|
| 182 |
+
"n_episodes": 50,
|
| 183 |
+
"batch_size": 50,
|
| 184 |
+
"use_async_envs": true
|
| 185 |
+
},
|
| 186 |
+
"wandb": {
|
| 187 |
+
"enable": false,
|
| 188 |
+
"disable_artifact": true,
|
| 189 |
+
"project": "RwH-Kuavo-50demos",
|
| 190 |
+
"entity": null,
|
| 191 |
+
"notes": null,
|
| 192 |
+
"run_id": null,
|
| 193 |
+
"mode": null,
|
| 194 |
+
"add_tags": true
|
| 195 |
+
},
|
| 196 |
+
"peft": {
|
| 197 |
+
"target_modules": null,
|
| 198 |
+
"full_training_modules": null,
|
| 199 |
+
"method_type": "LORA",
|
| 200 |
+
"init_type": null,
|
| 201 |
+
"r": 64
|
| 202 |
+
},
|
| 203 |
+
"use_rabc": false,
|
| 204 |
+
"rabc_progress_path": null,
|
| 205 |
+
"rabc_kappa": 0.01,
|
| 206 |
+
"rabc_epsilon": 1e-06,
|
| 207 |
+
"rabc_head_mode": "sparse",
|
| 208 |
+
"rename_map": {},
|
| 209 |
+
"checkpoint_path": null
|
| 210 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/model_assets.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"lerobot/smolvla_base": "5e8d12a6e2975b0e5e5fce7c8caf47c371d257b6",
|
| 3 |
+
"lerobot/pi05_base": "22c30e5b34f9e7ab738b1b34fc2fc5ecfe2d28f0",
|
| 4 |
+
"openai/clip-vit-base-patch16": "57c216476eefef5ab752ec549e440a49ae4ae5f3",
|
| 5 |
+
"HuggingFaceTB/SmolVLM2-500M-Video-Instruct": "7b375e1b73b11138ff12fe22c8f2822d8fe03467",
|
| 6 |
+
"google/paligemma-3b-pt-224": "35e4f46485b4d07967e7e9935bc3786aad50687c",
|
| 7 |
+
"lerobot/eagle2hg-processor-groot-n1p5": "baf604d8a5caf26fda5cc545f141bc1814156237",
|
| 8 |
+
"nvidia/GR00T-N1.5-3B": "869830fc749c35f34771aa5209f923ac57e4564e"
|
| 9 |
+
}
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/policy.yaml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LeTools simple defaults + agreed 50_demos contract. One GPU, no gradient accumulation.
|
| 2 |
+
dataset:
|
| 3 |
+
repo_id: RwH-Lab/kuavo-skill-50demos-10hz-state20-futuretorso
|
| 4 |
+
root: /home/work/mntvol/data/RwH-Kuavo-v2/50_demos/skill_10hz_state20_futuretorso_policy_chunks
|
| 5 |
+
training:
|
| 6 |
+
resume: false
|
| 7 |
+
output_dir: /home/work/mntvol/RwH-Kuavo_ckpt/50_demos/smolvla
|
| 8 |
+
job_name: rwh_50demos_smolvla
|
| 9 |
+
batch_size: 64
|
| 10 |
+
steps: 20000
|
| 11 |
+
save_freq: 5000
|
| 12 |
+
log_freq: 100
|
| 13 |
+
eval_freq: 0
|
| 14 |
+
num_workers: 4
|
| 15 |
+
seed: 42
|
| 16 |
+
wandb:
|
| 17 |
+
enable: false
|
| 18 |
+
project: RwH-Kuavo-50demos
|
| 19 |
+
peft:
|
| 20 |
+
method_type: LORA
|
| 21 |
+
r: 64
|
| 22 |
+
policy:
|
| 23 |
+
type: smolvla
|
| 24 |
+
pretrained_path: lerobot/smolvla_base
|
| 25 |
+
vlm_model_name: HuggingFaceTB/SmolVLM2-500M-Video-Instruct
|
| 26 |
+
chunk_size: 50
|
| 27 |
+
n_action_steps: 50
|
| 28 |
+
max_state_dim: 32
|
| 29 |
+
max_action_dim: 32
|
| 30 |
+
resize_imgs_with_padding:
|
| 31 |
+
- 512
|
| 32 |
+
- 512
|
| 33 |
+
tokenizer_max_length: 48
|
| 34 |
+
num_steps: 10
|
| 35 |
+
freeze_vision_encoder: true
|
| 36 |
+
train_expert_only: false
|
| 37 |
+
train_state_proj: true
|
| 38 |
+
optimizer_lr: 0.001
|
| 39 |
+
scheduler_decay_lr: 0.0001
|
| 40 |
+
scheduler_warmup_steps: 1000
|
| 41 |
+
scheduler_decay_steps: 20000
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/total.yaml
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset: # 数据集相关设置。
|
| 2 |
+
repo_id: "lerobot/your_dataset" # 数据集名字,用来做标识。
|
| 3 |
+
root: null # 本地数据路径。
|
| 4 |
+
episodes: null # 只训练指定的 episode;不填就是全量。
|
| 5 |
+
image_transforms: {} # 额外的图像预处理设置。
|
| 6 |
+
revision: null # 远程数据集版本;本地训练一般不用改。
|
| 7 |
+
use_imagenet_stats: true # 图像是否用 ImageNet 的均值方差做归一化。
|
| 8 |
+
video_backend: pyav # 读视频帧用的后端。一般用 pyav。
|
| 9 |
+
return_uint8: false # 是否保留图像为 uint8,而不是转换成 float tensor。
|
| 10 |
+
streaming: false # 是否流式读数据。一般保持 false。
|
| 11 |
+
|
| 12 |
+
training: # 训练流程设置。
|
| 13 |
+
output_dir: "outputs/train/smolvla" # 训练输出目录。
|
| 14 |
+
job_name: "smolvla" # 实验名。
|
| 15 |
+
resume: false # 是否从 output_dir 最新 checkpoint 继续训;续训改为 true,并修改 output_dir 为上阶段 run 的产物路径,如 outputs/train/smolvla_YYYYMMDD_HHMMSS。
|
| 16 |
+
seed: 1000 # 随机种子。
|
| 17 |
+
cudnn_deterministic: false # 更稳定可复现,但会慢一点。
|
| 18 |
+
num_workers: 4 # 读数据用的进程数。
|
| 19 |
+
batch_size: 8 # 每张卡上的 batch size。
|
| 20 |
+
prefetch_factor: 4 # 每个读数据进程提前准备多少个 batch。
|
| 21 |
+
persistent_workers: true # 是否让读数据进程常驻。
|
| 22 |
+
steps: 30000 # 总训练步数。
|
| 23 |
+
eval_freq: 5000 # 每隔多少步做一次评测。
|
| 24 |
+
log_freq: 100 # 每隔多少步打一次日志。
|
| 25 |
+
tolerance_s: 1.0e-4 # 视频帧和标注对齐时允许的时间误差。
|
| 26 |
+
save_checkpoint: true # 是否保存 checkpoint。
|
| 27 |
+
save_freq: 5000 # 每隔多少步存一次权重。
|
| 28 |
+
use_policy_training_preset: true # 是否用模型自带的优化器和调度器默认值。
|
| 29 |
+
optimizer: null # 手动指定优化器;一般留空。
|
| 30 |
+
scheduler: null # 手动指定学习率策略;一般留空。
|
| 31 |
+
use_rabc: false # 是否启用 RABC。一般不用。
|
| 32 |
+
rabc_progress_path: null # RABC 用的额外文件路径。一般不用。
|
| 33 |
+
rabc_kappa: 0.01 # RABC 参数。一般不用改。
|
| 34 |
+
rabc_epsilon: 1.0e-6 # RABC 的稳定性参数。一般不用改。
|
| 35 |
+
rabc_head_mode: "sparse" # RABC 模式。一般不用改。
|
| 36 |
+
rename_map: {} # 特征重命名表。一般不用。
|
| 37 |
+
|
| 38 |
+
eval: # 训练中评测设置。
|
| 39 |
+
n_episodes: 50 # 每次评测跑多少条。
|
| 40 |
+
batch_size: 0 # 评测 batch size。0 表示自动。
|
| 41 |
+
use_async_envs: true # 评测环境是否并行异步跑。
|
| 42 |
+
|
| 43 |
+
wandb: # wandb 设置。
|
| 44 |
+
enable: false # 是否启用 wandb。
|
| 45 |
+
disable_artifact: true # 是否禁用向 wandb 上传权重文件。
|
| 46 |
+
project: "lerobot" # wandb 项目名。
|
| 47 |
+
entity: null # wandb 账号或团队名。
|
| 48 |
+
notes: null # wandb 备注。
|
| 49 |
+
run_id: null # wandb run id。
|
| 50 |
+
mode: null # wandb 模式。
|
| 51 |
+
add_tags: true # 是否自动加 wandb 标签。
|
| 52 |
+
|
| 53 |
+
peft: # PEFT / LoRA 微调设置(默认LoRA微调,全量微调请设置 peft: null)
|
| 54 |
+
method_type: "LORA" # PEFT 方法。
|
| 55 |
+
r: 16 # LoRA 低秩矩阵的秩
|
| 56 |
+
target_modules: null # null 使用 pi0 默认:gemma_expert 的 q/v_proj + state/action 投影层。
|
| 57 |
+
full_training_modules: null # null 使用策略默认 modules_to_save;一般无需改。
|
| 58 |
+
init_type: null # LoRA 初始化方式;null 为 PEFT 默认。
|
| 59 |
+
|
| 60 |
+
policy: # 模型相关设置。
|
| 61 |
+
type: "smolvla" # 模型类型。
|
| 62 |
+
n_obs_steps: 1 # 一次预测会看几帧观测。
|
| 63 |
+
input_features: {} # 手动指定输入特征。一般不用。
|
| 64 |
+
output_features: {} # 手动指定输出特征。一般不用。
|
| 65 |
+
device: "cuda" # 运行设备。
|
| 66 |
+
use_amp: false # 是否启用混合精度。
|
| 67 |
+
use_peft: false # 是否启用 PEFT。
|
| 68 |
+
push_to_hub: false # 是否上传到 Hugging Face。
|
| 69 |
+
repo_id: null # 上传时用的仓库名。
|
| 70 |
+
private: null # 上传仓库是否私有。
|
| 71 |
+
tags: null # 上传时的标签。
|
| 72 |
+
license: null # 上传时的 license。
|
| 73 |
+
pretrained_path: "lerobot/smolvla_base" # 官方 SmolVLA 基座(微调默认);从头训练请改为 null。二阶段微调请改为上一 run 的 <policy_name>_YYYYMMDD_HHMMSS/checkpoints/<step>/pretrained_model 路径。
|
| 74 |
+
chunk_size: 50 # 每次预测多长的动作序列。
|
| 75 |
+
n_action_steps: 50 # 每次真正执行多少步动作。
|
| 76 |
+
normalization_mapping: # 不同输入的归一化方式。
|
| 77 |
+
VISUAL: "IDENTITY" # 图像怎么归一化。
|
| 78 |
+
STATE: "MEAN_STD" # 状态怎么归一化。
|
| 79 |
+
ACTION: "MEAN_STD" # 动作怎么归一化。
|
| 80 |
+
max_state_dim: 32 # 状态最大维度。
|
| 81 |
+
max_action_dim: 32 # 动作最大维度。
|
| 82 |
+
resize_imgs_with_padding: [512, 512] # 按比例缩放并补边。
|
| 83 |
+
empty_cameras: 0 # 预留空相机数量。
|
| 84 |
+
adapt_to_pi_aloha: false # 是否适配 ALOHA。
|
| 85 |
+
use_delta_joint_actions_aloha: false # ALOHA 模式下是否用关节增量。
|
| 86 |
+
tokenizer_max_length: 48 # 文本最大长度。
|
| 87 |
+
num_steps: 10 # 生成步数。
|
| 88 |
+
use_cache: true # 是否启用 cache。
|
| 89 |
+
freeze_vision_encoder: true # 是否冻结视觉编码器。
|
| 90 |
+
train_expert_only: true # 是否只训练动作头。
|
| 91 |
+
train_state_proj: true # 是否训练状态投影层。
|
| 92 |
+
optimizer_lr: 1.0e-4 # 主学习率。
|
| 93 |
+
optimizer_betas: [0.9, 0.95] # 优化器 beta 参数。
|
| 94 |
+
optimizer_eps: 1.0e-8 # 优化器 epsilon。
|
| 95 |
+
optimizer_weight_decay: 1.0e-10 # weight decay。
|
| 96 |
+
optimizer_grad_clip_norm: 10 # 梯度裁剪大小。
|
| 97 |
+
scheduler_warmup_steps: 1000 # warmup 步数。
|
| 98 |
+
scheduler_decay_steps: 30000 # 学习率衰减步数。
|
| 99 |
+
scheduler_decay_lr: 2.5e-6 # 衰减后的最小学习率。
|
| 100 |
+
vlm_model_name: "HuggingFaceTB/SmolVLM2-500M-Video-Instruct" # VLM 基座模型。
|
| 101 |
+
load_vlm_weights: false # 是否加载预训练 VLM。
|
| 102 |
+
add_image_special_tokens: false # 是否插入图像 special token。
|
| 103 |
+
attention_mode: "cross_attn" # 注意力模式。
|
| 104 |
+
prefix_length: -1 # prefix 长度。-1 表示自动。
|
| 105 |
+
pad_language_to: "longest" # 语言 padding 策略。
|
| 106 |
+
num_expert_layers: -1 # expert 层数。-1 表示默认。
|
| 107 |
+
num_vlm_layers: 16 # 启用的 VLM 层数。
|
| 108 |
+
self_attn_every_n_layers: 2 # 每几层插一次 self-attention。
|
| 109 |
+
expert_width_multiplier: 0.75 # expert 宽度倍率。
|
| 110 |
+
min_period: 4.0e-3 # 最小周期。
|
| 111 |
+
max_period: 4.0 # 最大周期。
|
| 112 |
+
rtc_config: null # 实时控制配置。一般不用。
|
| 113 |
+
compile_model: false # 是否启用 torch.compile。
|
| 114 |
+
compile_mode: "max-autotune" # compile 模式。
|
50_demos/smolvla/checkpoints/checkpoint-15K/provenance/training_step.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"step": 15000
|
| 3 |
+
}
|