Upload folder using huggingface_hub
Browse files- README.md +203 -0
- adapter_config.json +41 -0
- adapter_model.safetensors +3 -0
- config.json +100 -0
- policy_postprocessor.json +32 -0
- policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
- policy_preprocessor.json +95 -0
- policy_preprocessor_step_2_normalizer_processor.safetensors +3 -0
- train_config.json +221 -0
README.md
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
tags:
|
| 4 |
+
- lora
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Model Card for Model ID
|
| 8 |
+
|
| 9 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
## Model Details
|
| 14 |
+
|
| 15 |
+
### Model Description
|
| 16 |
+
|
| 17 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
- **Developed by:** [More Information Needed]
|
| 22 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 23 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 24 |
+
- **Model type:** [More Information Needed]
|
| 25 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 26 |
+
- **License:** [More Information Needed]
|
| 27 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 28 |
+
|
| 29 |
+
### Model Sources [optional]
|
| 30 |
+
|
| 31 |
+
<!-- Provide the basic links for the model. -->
|
| 32 |
+
|
| 33 |
+
- **Repository:** [More Information Needed]
|
| 34 |
+
- **Paper [optional]:** [More Information Needed]
|
| 35 |
+
- **Demo [optional]:** [More Information Needed]
|
| 36 |
+
|
| 37 |
+
## Uses
|
| 38 |
+
|
| 39 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 40 |
+
|
| 41 |
+
### Direct Use
|
| 42 |
+
|
| 43 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 44 |
+
|
| 45 |
+
[More Information Needed]
|
| 46 |
+
|
| 47 |
+
### Downstream Use [optional]
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Out-of-Scope Use
|
| 54 |
+
|
| 55 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
## Bias, Risks, and Limitations
|
| 60 |
+
|
| 61 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
### Recommendations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 68 |
+
|
| 69 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 70 |
+
|
| 71 |
+
## How to Get Started with the Model
|
| 72 |
+
|
| 73 |
+
Use the code below to get started with the model.
|
| 74 |
+
|
| 75 |
+
[More Information Needed]
|
| 76 |
+
|
| 77 |
+
## Training Details
|
| 78 |
+
|
| 79 |
+
### Training Data
|
| 80 |
+
|
| 81 |
+
<!-- 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. -->
|
| 82 |
+
|
| 83 |
+
[More Information Needed]
|
| 84 |
+
|
| 85 |
+
### Training Procedure
|
| 86 |
+
|
| 87 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 88 |
+
|
| 89 |
+
#### Preprocessing [optional]
|
| 90 |
+
|
| 91 |
+
[More Information Needed]
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
#### Training Hyperparameters
|
| 95 |
+
|
| 96 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 97 |
+
|
| 98 |
+
#### Speeds, Sizes, Times [optional]
|
| 99 |
+
|
| 100 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 101 |
+
|
| 102 |
+
[More Information Needed]
|
| 103 |
+
|
| 104 |
+
## Evaluation
|
| 105 |
+
|
| 106 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 107 |
+
|
| 108 |
+
### Testing Data, Factors & Metrics
|
| 109 |
+
|
| 110 |
+
#### Testing Data
|
| 111 |
+
|
| 112 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 113 |
+
|
| 114 |
+
[More Information Needed]
|
| 115 |
+
|
| 116 |
+
#### Factors
|
| 117 |
+
|
| 118 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Metrics
|
| 123 |
+
|
| 124 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
### Results
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
#### Summary
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
## Model Examination [optional]
|
| 137 |
+
|
| 138 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 139 |
+
|
| 140 |
+
[More Information Needed]
|
| 141 |
+
|
| 142 |
+
## Environmental Impact
|
| 143 |
+
|
| 144 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 145 |
+
|
| 146 |
+
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).
|
| 147 |
+
|
| 148 |
+
- **Hardware Type:** [More Information Needed]
|
| 149 |
+
- **Hours used:** [More Information Needed]
|
| 150 |
+
- **Cloud Provider:** [More Information Needed]
|
| 151 |
+
- **Compute Region:** [More Information Needed]
|
| 152 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 153 |
+
|
| 154 |
+
## Technical Specifications [optional]
|
| 155 |
+
|
| 156 |
+
### Model Architecture and Objective
|
| 157 |
+
|
| 158 |
+
[More Information Needed]
|
| 159 |
+
|
| 160 |
+
### Compute Infrastructure
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
#### Hardware
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Software
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
## Citation [optional]
|
| 173 |
+
|
| 174 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 175 |
+
|
| 176 |
+
**BibTeX:**
|
| 177 |
+
|
| 178 |
+
[More Information Needed]
|
| 179 |
+
|
| 180 |
+
**APA:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
## Glossary [optional]
|
| 185 |
+
|
| 186 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## More Information [optional]
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## Model Card Authors [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Contact
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
+
### Framework versions
|
| 202 |
+
|
| 203 |
+
- PEFT 0.17.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": {
|
| 4 |
+
"base_model_class": "PI05Policy",
|
| 5 |
+
"parent_library": "lerobot.policies.pi05.modeling_pi05"
|
| 6 |
+
},
|
| 7 |
+
"base_model_name_or_path": null,
|
| 8 |
+
"bias": "none",
|
| 9 |
+
"corda_config": null,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 8,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.0,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [
|
| 25 |
+
"normalize_inputs",
|
| 26 |
+
"normalize_targets",
|
| 27 |
+
"unnormalize_outputs"
|
| 28 |
+
],
|
| 29 |
+
"peft_type": "LORA",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 16,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": ".*\\.(q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)",
|
| 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:60b2c3aeaa89e0c1a7e47d296d8741eb94c748ed3fc131120d48f3ce857ffb2c
|
| 3 |
+
size 118236584
|
config.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "pi05",
|
| 3 |
+
"n_obs_steps": 1,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.state": {
|
| 6 |
+
"type": "STATE",
|
| 7 |
+
"shape": [
|
| 8 |
+
6
|
| 9 |
+
]
|
| 10 |
+
},
|
| 11 |
+
"observation.images.cam_l": {
|
| 12 |
+
"type": "VISUAL",
|
| 13 |
+
"shape": [
|
| 14 |
+
3,
|
| 15 |
+
720,
|
| 16 |
+
1280
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"observation.images.gripper_l": {
|
| 20 |
+
"type": "VISUAL",
|
| 21 |
+
"shape": [
|
| 22 |
+
3,
|
| 23 |
+
480,
|
| 24 |
+
640
|
| 25 |
+
]
|
| 26 |
+
},
|
| 27 |
+
"observation.images.cam_r": {
|
| 28 |
+
"type": "VISUAL",
|
| 29 |
+
"shape": [
|
| 30 |
+
3,
|
| 31 |
+
720,
|
| 32 |
+
1280
|
| 33 |
+
]
|
| 34 |
+
},
|
| 35 |
+
"observation.images.gripper_r": {
|
| 36 |
+
"type": "VISUAL",
|
| 37 |
+
"shape": [
|
| 38 |
+
3,
|
| 39 |
+
480,
|
| 40 |
+
640
|
| 41 |
+
]
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"output_features": {
|
| 45 |
+
"action": {
|
| 46 |
+
"type": "ACTION",
|
| 47 |
+
"shape": [
|
| 48 |
+
6
|
| 49 |
+
]
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"device": "cuda",
|
| 53 |
+
"use_amp": false,
|
| 54 |
+
"use_peft": false,
|
| 55 |
+
"push_to_hub": true,
|
| 56 |
+
"repo_id": "andlyu/pi05_pack2",
|
| 57 |
+
"private": null,
|
| 58 |
+
"tags": null,
|
| 59 |
+
"license": null,
|
| 60 |
+
"pretrained_path": "lerobot/pi05_base",
|
| 61 |
+
"paligemma_variant": "gemma_2b",
|
| 62 |
+
"action_expert_variant": "gemma_300m",
|
| 63 |
+
"dtype": "bfloat16",
|
| 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 |
+
"image_resolution": [
|
| 76 |
+
224,
|
| 77 |
+
224
|
| 78 |
+
],
|
| 79 |
+
"empty_cameras": 0,
|
| 80 |
+
"tokenizer_max_length": 200,
|
| 81 |
+
"normalization_mapping": {
|
| 82 |
+
"VISUAL": "IDENTITY",
|
| 83 |
+
"STATE": "QUANTILES",
|
| 84 |
+
"ACTION": "QUANTILES"
|
| 85 |
+
},
|
| 86 |
+
"gradient_checkpointing": true,
|
| 87 |
+
"compile_model": true,
|
| 88 |
+
"compile_mode": "max-autotune",
|
| 89 |
+
"optimizer_lr": 2.5e-05,
|
| 90 |
+
"optimizer_betas": [
|
| 91 |
+
0.9,
|
| 92 |
+
0.95
|
| 93 |
+
],
|
| 94 |
+
"optimizer_eps": 1e-08,
|
| 95 |
+
"optimizer_weight_decay": 0.01,
|
| 96 |
+
"optimizer_grad_clip_norm": 1.0,
|
| 97 |
+
"scheduler_warmup_steps": 1000,
|
| 98 |
+
"scheduler_decay_steps": 3000,
|
| 99 |
+
"scheduler_decay_lr": 2.5e-06
|
| 100 |
+
}
|
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 |
+
6
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"norm_map": {
|
| 17 |
+
"VISUAL": "IDENTITY",
|
| 18 |
+
"STATE": "QUANTILES",
|
| 19 |
+
"ACTION": "QUANTILES"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"registry_name": "device_processor",
|
| 26 |
+
"config": {
|
| 27 |
+
"device": "cpu",
|
| 28 |
+
"float_dtype": null
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
]
|
| 32 |
+
}
|
policy_postprocessor_step_0_unnormalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:614f1ae61a7dcd2f9a1e53131ea3ac6f73a9803b8c4d892e1510090c658b1353
|
| 3 |
+
size 9656
|
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": "normalizer_processor",
|
| 16 |
+
"config": {
|
| 17 |
+
"eps": 1e-08,
|
| 18 |
+
"features": {
|
| 19 |
+
"observation.state": {
|
| 20 |
+
"type": "STATE",
|
| 21 |
+
"shape": [
|
| 22 |
+
6
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"observation.images.cam_l": {
|
| 26 |
+
"type": "VISUAL",
|
| 27 |
+
"shape": [
|
| 28 |
+
3,
|
| 29 |
+
720,
|
| 30 |
+
1280
|
| 31 |
+
]
|
| 32 |
+
},
|
| 33 |
+
"observation.images.gripper_l": {
|
| 34 |
+
"type": "VISUAL",
|
| 35 |
+
"shape": [
|
| 36 |
+
3,
|
| 37 |
+
480,
|
| 38 |
+
640
|
| 39 |
+
]
|
| 40 |
+
},
|
| 41 |
+
"observation.images.cam_r": {
|
| 42 |
+
"type": "VISUAL",
|
| 43 |
+
"shape": [
|
| 44 |
+
3,
|
| 45 |
+
720,
|
| 46 |
+
1280
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"observation.images.gripper_r": {
|
| 50 |
+
"type": "VISUAL",
|
| 51 |
+
"shape": [
|
| 52 |
+
3,
|
| 53 |
+
480,
|
| 54 |
+
640
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"action": {
|
| 58 |
+
"type": "ACTION",
|
| 59 |
+
"shape": [
|
| 60 |
+
6
|
| 61 |
+
]
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"norm_map": {
|
| 65 |
+
"VISUAL": "IDENTITY",
|
| 66 |
+
"STATE": "QUANTILES",
|
| 67 |
+
"ACTION": "QUANTILES"
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
"state_file": "policy_preprocessor_step_2_normalizer_processor.safetensors"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"registry_name": "pi05_prepare_state_tokenizer_processor_step",
|
| 74 |
+
"config": {}
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"registry_name": "tokenizer_processor",
|
| 78 |
+
"config": {
|
| 79 |
+
"max_length": 200,
|
| 80 |
+
"task_key": "task",
|
| 81 |
+
"padding_side": "right",
|
| 82 |
+
"padding": "max_length",
|
| 83 |
+
"truncation": true,
|
| 84 |
+
"tokenizer_name": "google/paligemma-3b-pt-224"
|
| 85 |
+
}
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"registry_name": "device_processor",
|
| 89 |
+
"config": {
|
| 90 |
+
"device": "cuda",
|
| 91 |
+
"float_dtype": null
|
| 92 |
+
}
|
| 93 |
+
}
|
| 94 |
+
]
|
| 95 |
+
}
|
policy_preprocessor_step_2_normalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:614f1ae61a7dcd2f9a1e53131ea3ac6f73a9803b8c4d892e1510090c658b1353
|
| 3 |
+
size 9656
|
train_config.json
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": {
|
| 3 |
+
"repo_id": "andlyu/pack3_v2",
|
| 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 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"revision": null,
|
| 64 |
+
"use_imagenet_stats": true,
|
| 65 |
+
"video_backend": "torchcodec",
|
| 66 |
+
"streaming": false
|
| 67 |
+
},
|
| 68 |
+
"env": null,
|
| 69 |
+
"policy": {
|
| 70 |
+
"type": "pi05",
|
| 71 |
+
"n_obs_steps": 1,
|
| 72 |
+
"input_features": {
|
| 73 |
+
"observation.state": {
|
| 74 |
+
"type": "STATE",
|
| 75 |
+
"shape": [
|
| 76 |
+
6
|
| 77 |
+
]
|
| 78 |
+
},
|
| 79 |
+
"observation.images.cam_l": {
|
| 80 |
+
"type": "VISUAL",
|
| 81 |
+
"shape": [
|
| 82 |
+
3,
|
| 83 |
+
720,
|
| 84 |
+
1280
|
| 85 |
+
]
|
| 86 |
+
},
|
| 87 |
+
"observation.images.gripper_l": {
|
| 88 |
+
"type": "VISUAL",
|
| 89 |
+
"shape": [
|
| 90 |
+
3,
|
| 91 |
+
480,
|
| 92 |
+
640
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
"observation.images.cam_r": {
|
| 96 |
+
"type": "VISUAL",
|
| 97 |
+
"shape": [
|
| 98 |
+
3,
|
| 99 |
+
720,
|
| 100 |
+
1280
|
| 101 |
+
]
|
| 102 |
+
},
|
| 103 |
+
"observation.images.gripper_r": {
|
| 104 |
+
"type": "VISUAL",
|
| 105 |
+
"shape": [
|
| 106 |
+
3,
|
| 107 |
+
480,
|
| 108 |
+
640
|
| 109 |
+
]
|
| 110 |
+
}
|
| 111 |
+
},
|
| 112 |
+
"output_features": {
|
| 113 |
+
"action": {
|
| 114 |
+
"type": "ACTION",
|
| 115 |
+
"shape": [
|
| 116 |
+
6
|
| 117 |
+
]
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
"device": "cuda",
|
| 121 |
+
"use_amp": false,
|
| 122 |
+
"use_peft": false,
|
| 123 |
+
"push_to_hub": true,
|
| 124 |
+
"repo_id": "andlyu/pi05_pack2",
|
| 125 |
+
"private": null,
|
| 126 |
+
"tags": null,
|
| 127 |
+
"license": null,
|
| 128 |
+
"pretrained_path": "lerobot/pi05_base",
|
| 129 |
+
"paligemma_variant": "gemma_2b",
|
| 130 |
+
"action_expert_variant": "gemma_300m",
|
| 131 |
+
"dtype": "bfloat16",
|
| 132 |
+
"chunk_size": 50,
|
| 133 |
+
"n_action_steps": 50,
|
| 134 |
+
"max_state_dim": 32,
|
| 135 |
+
"max_action_dim": 32,
|
| 136 |
+
"num_inference_steps": 10,
|
| 137 |
+
"time_sampling_beta_alpha": 1.5,
|
| 138 |
+
"time_sampling_beta_beta": 1.0,
|
| 139 |
+
"time_sampling_scale": 0.999,
|
| 140 |
+
"time_sampling_offset": 0.001,
|
| 141 |
+
"min_period": 0.004,
|
| 142 |
+
"max_period": 4.0,
|
| 143 |
+
"image_resolution": [
|
| 144 |
+
224,
|
| 145 |
+
224
|
| 146 |
+
],
|
| 147 |
+
"empty_cameras": 0,
|
| 148 |
+
"tokenizer_max_length": 200,
|
| 149 |
+
"normalization_mapping": {
|
| 150 |
+
"VISUAL": "IDENTITY",
|
| 151 |
+
"STATE": "QUANTILES",
|
| 152 |
+
"ACTION": "QUANTILES"
|
| 153 |
+
},
|
| 154 |
+
"gradient_checkpointing": true,
|
| 155 |
+
"compile_model": true,
|
| 156 |
+
"compile_mode": "max-autotune",
|
| 157 |
+
"optimizer_lr": 2.5e-05,
|
| 158 |
+
"optimizer_betas": [
|
| 159 |
+
0.9,
|
| 160 |
+
0.95
|
| 161 |
+
],
|
| 162 |
+
"optimizer_eps": 1e-08,
|
| 163 |
+
"optimizer_weight_decay": 0.01,
|
| 164 |
+
"optimizer_grad_clip_norm": 1.0,
|
| 165 |
+
"scheduler_warmup_steps": 1000,
|
| 166 |
+
"scheduler_decay_steps": 3000,
|
| 167 |
+
"scheduler_decay_lr": 2.5e-06
|
| 168 |
+
},
|
| 169 |
+
"output_dir": "outputs/pi05_training",
|
| 170 |
+
"job_name": "pi05_training",
|
| 171 |
+
"resume": false,
|
| 172 |
+
"seed": 1000,
|
| 173 |
+
"num_workers": 28,
|
| 174 |
+
"batch_size": 24,
|
| 175 |
+
"steps": 3000,
|
| 176 |
+
"eval_freq": 20000,
|
| 177 |
+
"log_freq": 200,
|
| 178 |
+
"save_checkpoint": true,
|
| 179 |
+
"save_freq": 20000,
|
| 180 |
+
"use_policy_training_preset": true,
|
| 181 |
+
"optimizer": {
|
| 182 |
+
"type": "adamw",
|
| 183 |
+
"lr": 2.5e-05,
|
| 184 |
+
"weight_decay": 0.01,
|
| 185 |
+
"grad_clip_norm": 1.0,
|
| 186 |
+
"betas": [
|
| 187 |
+
0.9,
|
| 188 |
+
0.95
|
| 189 |
+
],
|
| 190 |
+
"eps": 1e-08
|
| 191 |
+
},
|
| 192 |
+
"scheduler": {
|
| 193 |
+
"type": "cosine_decay_with_warmup",
|
| 194 |
+
"num_warmup_steps": 1000,
|
| 195 |
+
"num_decay_steps": 3000,
|
| 196 |
+
"peak_lr": 2.5e-05,
|
| 197 |
+
"decay_lr": 2.5e-06
|
| 198 |
+
},
|
| 199 |
+
"eval": {
|
| 200 |
+
"n_episodes": 50,
|
| 201 |
+
"batch_size": 50,
|
| 202 |
+
"use_async_envs": false
|
| 203 |
+
},
|
| 204 |
+
"wandb": {
|
| 205 |
+
"enable": true,
|
| 206 |
+
"disable_artifact": false,
|
| 207 |
+
"project": "lerobot",
|
| 208 |
+
"entity": null,
|
| 209 |
+
"notes": null,
|
| 210 |
+
"run_id": "8u9nmgbk",
|
| 211 |
+
"mode": null
|
| 212 |
+
},
|
| 213 |
+
"use_peft": true,
|
| 214 |
+
"peft": {
|
| 215 |
+
"target_modules": null,
|
| 216 |
+
"modules_to_save": null,
|
| 217 |
+
"method_type": "LORA",
|
| 218 |
+
"init_type": null,
|
| 219 |
+
"r": 16
|
| 220 |
+
}
|
| 221 |
+
}
|