Robotics
LeRobot
Safetensors
pi0
pzal commited on
Commit
d549aae
·
verified ·
1 Parent(s): 840f6a3

Upload DataProcessorPipeline

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