Robotics
LeRobot
Safetensors
pi0
File size: 5,198 Bytes
d549aae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
{
  "name": "policy_preprocessor",
  "steps": [
    {
      "registry_name": "data_transforms_processor",
      "config": {
        "input_features": {
          "observation.images.side": {
            "type": "VISUAL",
            "shape": [
              3,
              224,
              224
            ],
            "names": [
              "channel",
              "height",
              "width"
            ],
            "dtype": "torch.float32"
          },
          "observation.images.wrist": {
            "type": "VISUAL",
            "shape": [
              3,
              224,
              224
            ],
            "names": [
              "channel",
              "height",
              "width"
            ],
            "dtype": "torch.float32"
          },
          "observation.state": {
            "type": "STATE",
            "shape": [
              9
            ],
            "names": [
              "x",
              "y",
              "z",
              "qx",
              "qy",
              "qz",
              "qw",
              "gripper_q1",
              "gripper_q2"
            ],
            "dtype": "torch.float32"
          }
        },
        "output_features": {
          "action": {
            "type": "ACTION",
            "shape": [
              7
            ],
            "names": [
              "x",
              "y",
              "z",
              "rx",
              "ry",
              "rz",
              "tool"
            ],
            "dtype": "torch.float32"
          }
        },
        "chunk_size": 50,
        "data_transforms": [
          "robosuite_manipulator_absolute_to_delta_actions"
        ],
        "inverse": false
      }
    },
    {
      "registry_name": "validate_observations_processor",
      "config": {
        "input_features": {
          "observation.images.side": {
            "type": "VISUAL",
            "shape": [
              3,
              224,
              224
            ],
            "names": [
              "channel",
              "height",
              "width"
            ],
            "dtype": "torch.float32"
          },
          "observation.images.wrist": {
            "type": "VISUAL",
            "shape": [
              3,
              224,
              224
            ],
            "names": [
              "channel",
              "height",
              "width"
            ],
            "dtype": "torch.float32"
          },
          "observation.state": {
            "type": "STATE",
            "shape": [
              9
            ],
            "names": [
              "x",
              "y",
              "z",
              "qx",
              "qy",
              "qz",
              "qw",
              "gripper_q1",
              "gripper_q2"
            ],
            "dtype": "torch.float32"
          }
        },
        "output_features": {
          "action": {
            "type": "ACTION",
            "shape": [
              7
            ],
            "names": [
              "x",
              "y",
              "z",
              "rx",
              "ry",
              "rz",
              "tool"
            ],
            "dtype": "torch.float32"
          }
        },
        "chunk_size": 50
      }
    },
    {
      "registry_name": "rename_observations_processor",
      "config": {
        "rename_map": {}
      }
    },
    {
      "registry_name": "pi0_new_line_processor",
      "config": {}
    },
    {
      "registry_name": "tokenizer_processor",
      "config": {
        "max_length": 48,
        "task_key": "task",
        "padding_side": "right",
        "padding": "max_length",
        "truncation": true,
        "tokenizer_name": "google/paligemma-3b-pt-224"
      }
    },
    {
      "registry_name": "device_processor",
      "config": {
        "device": "cuda",
        "float_dtype": null
      }
    },
    {
      "registry_name": "delta_actions_processor",
      "config": {
        "enabled": false,
        "exclude_joints": [
          "gripper"
        ],
        "action_names": [
          "x",
          "y",
          "z",
          "rx",
          "ry",
          "rz",
          "gripper"
        ]
      }
    },
    {
      "registry_name": "normalizer_processor",
      "config": {
        "eps": 1e-08,
        "features": {
          "observation.images.side": {
            "type": "VISUAL",
            "shape": [
              3,
              224,
              224
            ]
          },
          "observation.images.wrist": {
            "type": "VISUAL",
            "shape": [
              3,
              224,
              224
            ]
          },
          "observation.state": {
            "type": "STATE",
            "shape": [
              9
            ]
          },
          "action": {
            "type": "ACTION",
            "shape": [
              7
            ]
          }
        },
        "norm_map": {
          "VISUAL": "IDENTITY",
          "STATE": "MEAN_STD",
          "ACTION": "MEAN_STD"
        }
      },
      "state_file": "policy_preprocessor_step_7_normalizer_processor.safetensors"
    }
  ]
}