Upload folder using huggingface_hub
Browse files- README.md +204 -0
- adapter_config.json +41 -0
- adapter_model.safetensors +3 -0
- config.json +103 -0
- policy_postprocessor.json +32 -0
- policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
- policy_preprocessor.json +95 -0
- policy_preprocessor_step_5_normalizer_processor.safetensors +3 -0
- train_config.json +245 -0
README.md
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
tags:
|
| 4 |
+
- base_model:adapter:lerobot/pi0_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.18.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "PI0Policy",
|
| 7 |
+
"parent_library": "lerobot.policies.pi0.modeling_pi0"
|
| 8 |
+
},
|
| 9 |
+
"base_model_name_or_path": "lerobot/pi0_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 |
+
"megatron_config": null,
|
| 26 |
+
"megatron_core": "megatron.core",
|
| 27 |
+
"modules_to_save": [],
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.18.0",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 32,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": "(.*\\.gemma_expert\\..*\\.self_attn.(q|v)_proj|model\\.(state_proj|action_in_proj|action_out_proj|action_time_mlp_in|action_time_mlp_out))",
|
| 35 |
+
"target_parameters": null,
|
| 36 |
+
"task_type": null,
|
| 37 |
+
"trainable_token_indices": null,
|
| 38 |
+
"use_dora": false,
|
| 39 |
+
"use_qalora": false,
|
| 40 |
+
"use_rslora": false
|
| 41 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:284a02ee3d01e9cd11b6f5c51df4999db613b3b3bc82cbe34fe4c0b7be929ab4
|
| 3 |
+
size 11101592
|
config.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "pi0",
|
| 3 |
+
"n_obs_steps": 1,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.state": {
|
| 6 |
+
"type": "STATE",
|
| 7 |
+
"shape": [
|
| 8 |
+
15
|
| 9 |
+
]
|
| 10 |
+
},
|
| 11 |
+
"observation.images.right_wrist": {
|
| 12 |
+
"type": "VISUAL",
|
| 13 |
+
"shape": [
|
| 14 |
+
3,
|
| 15 |
+
480,
|
| 16 |
+
640
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"observation.images.left_wrist": {
|
| 20 |
+
"type": "VISUAL",
|
| 21 |
+
"shape": [
|
| 22 |
+
3,
|
| 23 |
+
480,
|
| 24 |
+
640
|
| 25 |
+
]
|
| 26 |
+
},
|
| 27 |
+
"observation.images.front": {
|
| 28 |
+
"type": "VISUAL",
|
| 29 |
+
"shape": [
|
| 30 |
+
3,
|
| 31 |
+
480,
|
| 32 |
+
640
|
| 33 |
+
]
|
| 34 |
+
},
|
| 35 |
+
"observation.images.top": {
|
| 36 |
+
"type": "VISUAL",
|
| 37 |
+
"shape": [
|
| 38 |
+
3,
|
| 39 |
+
720,
|
| 40 |
+
1280
|
| 41 |
+
]
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"output_features": {
|
| 45 |
+
"action": {
|
| 46 |
+
"type": "ACTION",
|
| 47 |
+
"shape": [
|
| 48 |
+
15
|
| 49 |
+
]
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"device": "cuda",
|
| 53 |
+
"use_amp": false,
|
| 54 |
+
"use_peft": true,
|
| 55 |
+
"push_to_hub": true,
|
| 56 |
+
"repo_id": "moveit2/pi0_mimic_drift",
|
| 57 |
+
"private": null,
|
| 58 |
+
"tags": null,
|
| 59 |
+
"license": null,
|
| 60 |
+
"pretrained_path": "lerobot/pi0_base",
|
| 61 |
+
"paligemma_variant": "gemma_2b",
|
| 62 |
+
"action_expert_variant": "gemma_300m",
|
| 63 |
+
"dtype": "float32",
|
| 64 |
+
"chunk_size": 50,
|
| 65 |
+
"n_action_steps": 50,
|
| 66 |
+
"max_state_dim": 32,
|
| 67 |
+
"max_action_dim": 32,
|
| 68 |
+
"num_inference_steps": 10,
|
| 69 |
+
"time_sampling_beta_alpha": 1.5,
|
| 70 |
+
"time_sampling_beta_beta": 1.0,
|
| 71 |
+
"time_sampling_scale": 0.999,
|
| 72 |
+
"time_sampling_offset": 0.001,
|
| 73 |
+
"min_period": 0.004,
|
| 74 |
+
"max_period": 4.0,
|
| 75 |
+
"rtc_config": null,
|
| 76 |
+
"image_resolution": [
|
| 77 |
+
224,
|
| 78 |
+
224
|
| 79 |
+
],
|
| 80 |
+
"empty_cameras": 0,
|
| 81 |
+
"normalization_mapping": {
|
| 82 |
+
"VISUAL": "IDENTITY",
|
| 83 |
+
"STATE": "MEAN_STD",
|
| 84 |
+
"ACTION": "MEAN_STD"
|
| 85 |
+
},
|
| 86 |
+
"gradient_checkpointing": true,
|
| 87 |
+
"compile_model": false,
|
| 88 |
+
"compile_mode": "max-autotune",
|
| 89 |
+
"freeze_vision_encoder": false,
|
| 90 |
+
"train_expert_only": false,
|
| 91 |
+
"optimizer_lr": 2.5e-05,
|
| 92 |
+
"optimizer_betas": [
|
| 93 |
+
0.9,
|
| 94 |
+
0.95
|
| 95 |
+
],
|
| 96 |
+
"optimizer_eps": 1e-08,
|
| 97 |
+
"optimizer_weight_decay": 0.01,
|
| 98 |
+
"optimizer_grad_clip_norm": 1.0,
|
| 99 |
+
"scheduler_warmup_steps": 1000,
|
| 100 |
+
"scheduler_decay_steps": 30000,
|
| 101 |
+
"scheduler_decay_lr": 2.5e-06,
|
| 102 |
+
"tokenizer_max_length": 48
|
| 103 |
+
}
|
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 |
+
15
|
| 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 |
+
}
|
policy_postprocessor_step_0_unnormalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71501ec9966f863a0f309c1c2ef18b633b0c47eb885c99136acb4cb9e5bdc98e
|
| 3 |
+
size 10376
|
policy_preprocessor.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "pi0_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": "google/paligemma-3b-pt-224"
|
| 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.state": {
|
| 42 |
+
"type": "STATE",
|
| 43 |
+
"shape": [
|
| 44 |
+
15
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"observation.images.right_wrist": {
|
| 48 |
+
"type": "VISUAL",
|
| 49 |
+
"shape": [
|
| 50 |
+
3,
|
| 51 |
+
480,
|
| 52 |
+
640
|
| 53 |
+
]
|
| 54 |
+
},
|
| 55 |
+
"observation.images.left_wrist": {
|
| 56 |
+
"type": "VISUAL",
|
| 57 |
+
"shape": [
|
| 58 |
+
3,
|
| 59 |
+
480,
|
| 60 |
+
640
|
| 61 |
+
]
|
| 62 |
+
},
|
| 63 |
+
"observation.images.front": {
|
| 64 |
+
"type": "VISUAL",
|
| 65 |
+
"shape": [
|
| 66 |
+
3,
|
| 67 |
+
480,
|
| 68 |
+
640
|
| 69 |
+
]
|
| 70 |
+
},
|
| 71 |
+
"observation.images.top": {
|
| 72 |
+
"type": "VISUAL",
|
| 73 |
+
"shape": [
|
| 74 |
+
3,
|
| 75 |
+
720,
|
| 76 |
+
1280
|
| 77 |
+
]
|
| 78 |
+
},
|
| 79 |
+
"action": {
|
| 80 |
+
"type": "ACTION",
|
| 81 |
+
"shape": [
|
| 82 |
+
15
|
| 83 |
+
]
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
"norm_map": {
|
| 87 |
+
"VISUAL": "IDENTITY",
|
| 88 |
+
"STATE": "MEAN_STD",
|
| 89 |
+
"ACTION": "MEAN_STD"
|
| 90 |
+
}
|
| 91 |
+
},
|
| 92 |
+
"state_file": "policy_preprocessor_step_5_normalizer_processor.safetensors"
|
| 93 |
+
}
|
| 94 |
+
]
|
| 95 |
+
}
|
policy_preprocessor_step_5_normalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71501ec9966f863a0f309c1c2ef18b633b0c47eb885c99136acb4cb9e5bdc98e
|
| 3 |
+
size 10376
|
train_config.json
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": {
|
| 3 |
+
"repo_id": "moveit2/mimic_drift_fix",
|
| 4 |
+
"root": null,
|
| 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 |
+
"streaming": false
|
| 81 |
+
},
|
| 82 |
+
"env": null,
|
| 83 |
+
"policy": {
|
| 84 |
+
"type": "pi0",
|
| 85 |
+
"n_obs_steps": 1,
|
| 86 |
+
"input_features": {
|
| 87 |
+
"observation.state": {
|
| 88 |
+
"type": "STATE",
|
| 89 |
+
"shape": [
|
| 90 |
+
15
|
| 91 |
+
]
|
| 92 |
+
},
|
| 93 |
+
"observation.images.right_wrist": {
|
| 94 |
+
"type": "VISUAL",
|
| 95 |
+
"shape": [
|
| 96 |
+
3,
|
| 97 |
+
480,
|
| 98 |
+
640
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
"observation.images.left_wrist": {
|
| 102 |
+
"type": "VISUAL",
|
| 103 |
+
"shape": [
|
| 104 |
+
3,
|
| 105 |
+
480,
|
| 106 |
+
640
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
"observation.images.front": {
|
| 110 |
+
"type": "VISUAL",
|
| 111 |
+
"shape": [
|
| 112 |
+
3,
|
| 113 |
+
480,
|
| 114 |
+
640
|
| 115 |
+
]
|
| 116 |
+
},
|
| 117 |
+
"observation.images.top": {
|
| 118 |
+
"type": "VISUAL",
|
| 119 |
+
"shape": [
|
| 120 |
+
3,
|
| 121 |
+
720,
|
| 122 |
+
1280
|
| 123 |
+
]
|
| 124 |
+
}
|
| 125 |
+
},
|
| 126 |
+
"output_features": {
|
| 127 |
+
"action": {
|
| 128 |
+
"type": "ACTION",
|
| 129 |
+
"shape": [
|
| 130 |
+
15
|
| 131 |
+
]
|
| 132 |
+
}
|
| 133 |
+
},
|
| 134 |
+
"device": "cuda",
|
| 135 |
+
"use_amp": false,
|
| 136 |
+
"use_peft": true,
|
| 137 |
+
"push_to_hub": true,
|
| 138 |
+
"repo_id": "moveit2/pi0_mimic_drift",
|
| 139 |
+
"private": null,
|
| 140 |
+
"tags": null,
|
| 141 |
+
"license": null,
|
| 142 |
+
"pretrained_path": "lerobot/pi0_base",
|
| 143 |
+
"paligemma_variant": "gemma_2b",
|
| 144 |
+
"action_expert_variant": "gemma_300m",
|
| 145 |
+
"dtype": "float32",
|
| 146 |
+
"chunk_size": 50,
|
| 147 |
+
"n_action_steps": 50,
|
| 148 |
+
"max_state_dim": 32,
|
| 149 |
+
"max_action_dim": 32,
|
| 150 |
+
"num_inference_steps": 10,
|
| 151 |
+
"time_sampling_beta_alpha": 1.5,
|
| 152 |
+
"time_sampling_beta_beta": 1.0,
|
| 153 |
+
"time_sampling_scale": 0.999,
|
| 154 |
+
"time_sampling_offset": 0.001,
|
| 155 |
+
"min_period": 0.004,
|
| 156 |
+
"max_period": 4.0,
|
| 157 |
+
"rtc_config": null,
|
| 158 |
+
"image_resolution": [
|
| 159 |
+
224,
|
| 160 |
+
224
|
| 161 |
+
],
|
| 162 |
+
"empty_cameras": 0,
|
| 163 |
+
"normalization_mapping": {
|
| 164 |
+
"VISUAL": "IDENTITY",
|
| 165 |
+
"STATE": "MEAN_STD",
|
| 166 |
+
"ACTION": "MEAN_STD"
|
| 167 |
+
},
|
| 168 |
+
"gradient_checkpointing": true,
|
| 169 |
+
"compile_model": false,
|
| 170 |
+
"compile_mode": "max-autotune",
|
| 171 |
+
"freeze_vision_encoder": false,
|
| 172 |
+
"train_expert_only": false,
|
| 173 |
+
"optimizer_lr": 2.5e-05,
|
| 174 |
+
"optimizer_betas": [
|
| 175 |
+
0.9,
|
| 176 |
+
0.95
|
| 177 |
+
],
|
| 178 |
+
"optimizer_eps": 1e-08,
|
| 179 |
+
"optimizer_weight_decay": 0.01,
|
| 180 |
+
"optimizer_grad_clip_norm": 1.0,
|
| 181 |
+
"scheduler_warmup_steps": 1000,
|
| 182 |
+
"scheduler_decay_steps": 30000,
|
| 183 |
+
"scheduler_decay_lr": 2.5e-06,
|
| 184 |
+
"tokenizer_max_length": 48
|
| 185 |
+
},
|
| 186 |
+
"output_dir": "outputs/train/pi0_mimic_drift",
|
| 187 |
+
"job_name": "pi0_mimic_drift",
|
| 188 |
+
"resume": false,
|
| 189 |
+
"seed": 1000,
|
| 190 |
+
"num_workers": 4,
|
| 191 |
+
"batch_size": 2,
|
| 192 |
+
"steps": 100000,
|
| 193 |
+
"eval_freq": 20000,
|
| 194 |
+
"log_freq": 200,
|
| 195 |
+
"tolerance_s": 0.0001,
|
| 196 |
+
"save_checkpoint": true,
|
| 197 |
+
"save_freq": 2500,
|
| 198 |
+
"use_policy_training_preset": true,
|
| 199 |
+
"optimizer": {
|
| 200 |
+
"type": "adamw",
|
| 201 |
+
"lr": 2.5e-05,
|
| 202 |
+
"weight_decay": 0.01,
|
| 203 |
+
"grad_clip_norm": 1.0,
|
| 204 |
+
"betas": [
|
| 205 |
+
0.9,
|
| 206 |
+
0.95
|
| 207 |
+
],
|
| 208 |
+
"eps": 1e-08
|
| 209 |
+
},
|
| 210 |
+
"scheduler": {
|
| 211 |
+
"type": "cosine_decay_with_warmup",
|
| 212 |
+
"num_warmup_steps": 1000,
|
| 213 |
+
"num_decay_steps": 30000,
|
| 214 |
+
"peak_lr": 2.5e-05,
|
| 215 |
+
"decay_lr": 2.5e-06
|
| 216 |
+
},
|
| 217 |
+
"eval": {
|
| 218 |
+
"n_episodes": 50,
|
| 219 |
+
"batch_size": 50,
|
| 220 |
+
"use_async_envs": false
|
| 221 |
+
},
|
| 222 |
+
"wandb": {
|
| 223 |
+
"enable": true,
|
| 224 |
+
"disable_artifact": false,
|
| 225 |
+
"project": "lerobot",
|
| 226 |
+
"entity": null,
|
| 227 |
+
"notes": null,
|
| 228 |
+
"run_id": "qvve9n64",
|
| 229 |
+
"mode": null
|
| 230 |
+
},
|
| 231 |
+
"peft": {
|
| 232 |
+
"target_modules": null,
|
| 233 |
+
"full_training_modules": null,
|
| 234 |
+
"method_type": "lora",
|
| 235 |
+
"init_type": null,
|
| 236 |
+
"r": 32
|
| 237 |
+
},
|
| 238 |
+
"use_rabc": false,
|
| 239 |
+
"rabc_progress_path": null,
|
| 240 |
+
"rabc_kappa": 0.01,
|
| 241 |
+
"rabc_epsilon": 1e-06,
|
| 242 |
+
"rabc_head_mode": "sparse",
|
| 243 |
+
"rename_map": {},
|
| 244 |
+
"checkpoint_path": null
|
| 245 |
+
}
|