ZibinDong commited on
Commit
13fb78e
·
verified ·
1 Parent(s): 15ab78a

Publish audited ActionCodec2 release files

Browse files
variants/paper-1st/profiles/joint/processor_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "processor_class": "ActionCodec2Processor"
3
+ }
variants/paper-1st/router_config.yaml ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_type: actioncodec2_router
2
+ config_version: 3
3
+ profiles:
4
+ - name: joint
5
+ token_offset: 0
6
+ token_budget: 4096
7
+ artifact_fingerprint: c403e3ec6b902f15b0609981d80298b66c1e0131cc6d1b093d01e058994c3e5f
8
+ - name: eef
9
+ token_offset: 4096
10
+ token_budget: 4096
11
+ artifact_fingerprint: 675e63c92503c55c0ea122df543da55be47c7c2cc69293c359a3e6cca9ea897b
12
+ presets:
13
+ - name: single_eef_abs
14
+ input_dim: 7
15
+ input: absolute
16
+ source_hz: 15.0
17
+ target_hz: 15.0
18
+ interpolation: cubic
19
+ components:
20
+ arm:
21
+ space: eef
22
+ position_dims:
23
+ - 0
24
+ - 1
25
+ - 2
26
+ rotation_dims:
27
+ - 3
28
+ - 4
29
+ - 5
30
+ rotation_format: rotation_vector
31
+ gripper_dim: 6
32
+ gripper_threshold: 0.8
33
+ gripper_open_is_high: true
34
+ - name: single_joint6_abs
35
+ input_dim: 7
36
+ input: absolute
37
+ source_hz: 15.0
38
+ target_hz: 15.0
39
+ interpolation: cubic
40
+ components:
41
+ arm:
42
+ space: joint
43
+ joint_dims:
44
+ - 0
45
+ - 1
46
+ - 2
47
+ - 3
48
+ - 4
49
+ - 5
50
+ gripper_dim: 6
51
+ gripper_threshold: 0.8
52
+ gripper_open_is_high: true
53
+ - name: single_joint7_abs
54
+ input_dim: 8
55
+ input: absolute
56
+ source_hz: 15.0
57
+ target_hz: 15.0
58
+ interpolation: cubic
59
+ components:
60
+ arm:
61
+ space: joint
62
+ joint_dims:
63
+ - 0
64
+ - 1
65
+ - 2
66
+ - 3
67
+ - 4
68
+ - 5
69
+ - 6
70
+ gripper_dim: 7
71
+ gripper_threshold: 0.8
72
+ gripper_open_is_high: true
73
+ - name: single_eef_delta
74
+ input_dim: 7
75
+ input: delta
76
+ source_hz: 15.0
77
+ target_hz: 15.0
78
+ interpolation: cubic
79
+ components:
80
+ arm:
81
+ space: eef
82
+ position_dims:
83
+ - 0
84
+ - 1
85
+ - 2
86
+ rotation_dims:
87
+ - 3
88
+ - 4
89
+ - 5
90
+ rotation_format: rotation_vector
91
+ gripper_dim: 6
92
+ gripper_threshold: 0.8
93
+ gripper_open_is_high: true
94
+ - name: single_joint6_delta
95
+ input_dim: 7
96
+ input: delta
97
+ source_hz: 15.0
98
+ target_hz: 15.0
99
+ interpolation: cubic
100
+ components:
101
+ arm:
102
+ space: joint
103
+ joint_dims:
104
+ - 0
105
+ - 1
106
+ - 2
107
+ - 3
108
+ - 4
109
+ - 5
110
+ gripper_dim: 6
111
+ gripper_threshold: 0.8
112
+ gripper_open_is_high: true
113
+ - name: single_joint7_delta
114
+ input_dim: 8
115
+ input: delta
116
+ source_hz: 15.0
117
+ target_hz: 15.0
118
+ interpolation: cubic
119
+ components:
120
+ arm:
121
+ space: joint
122
+ joint_dims:
123
+ - 0
124
+ - 1
125
+ - 2
126
+ - 3
127
+ - 4
128
+ - 5
129
+ - 6
130
+ gripper_dim: 7
131
+ gripper_threshold: 0.8
132
+ gripper_open_is_high: true
133
+ - name: dual_eef_abs
134
+ input_dim: 14
135
+ input: absolute
136
+ source_hz: 15.0
137
+ target_hz: 15.0
138
+ interpolation: cubic
139
+ components:
140
+ left_arm:
141
+ space: eef
142
+ position_dims:
143
+ - 0
144
+ - 1
145
+ - 2
146
+ rotation_dims:
147
+ - 3
148
+ - 4
149
+ - 5
150
+ rotation_format: rotation_vector
151
+ gripper_dim: 6
152
+ gripper_threshold: 0.8
153
+ gripper_open_is_high: true
154
+ right_arm:
155
+ space: eef
156
+ position_dims:
157
+ - 7
158
+ - 8
159
+ - 9
160
+ rotation_dims:
161
+ - 10
162
+ - 11
163
+ - 12
164
+ rotation_format: rotation_vector
165
+ gripper_dim: 13
166
+ gripper_threshold: 0.8
167
+ gripper_open_is_high: true
168
+ - name: dual_joint6_abs
169
+ input_dim: 14
170
+ input: absolute
171
+ source_hz: 15.0
172
+ target_hz: 15.0
173
+ interpolation: cubic
174
+ components:
175
+ left_arm:
176
+ space: joint
177
+ joint_dims:
178
+ - 0
179
+ - 1
180
+ - 2
181
+ - 3
182
+ - 4
183
+ - 5
184
+ gripper_dim: 6
185
+ gripper_threshold: 0.8
186
+ gripper_open_is_high: true
187
+ right_arm:
188
+ space: joint
189
+ joint_dims:
190
+ - 7
191
+ - 8
192
+ - 9
193
+ - 10
194
+ - 11
195
+ - 12
196
+ gripper_dim: 13
197
+ gripper_threshold: 0.8
198
+ gripper_open_is_high: true
199
+ - name: dual_joint7_abs
200
+ input_dim: 16
201
+ input: absolute
202
+ source_hz: 15.0
203
+ target_hz: 15.0
204
+ interpolation: cubic
205
+ components:
206
+ left_arm:
207
+ space: joint
208
+ joint_dims:
209
+ - 0
210
+ - 1
211
+ - 2
212
+ - 3
213
+ - 4
214
+ - 5
215
+ - 6
216
+ gripper_dim: 7
217
+ gripper_threshold: 0.8
218
+ gripper_open_is_high: true
219
+ right_arm:
220
+ space: joint
221
+ joint_dims:
222
+ - 8
223
+ - 9
224
+ - 10
225
+ - 11
226
+ - 12
227
+ - 13
228
+ - 14
229
+ gripper_dim: 15
230
+ gripper_threshold: 0.8
231
+ gripper_open_is_high: true
232
+ - name: dual_eef_delta
233
+ input_dim: 14
234
+ input: delta
235
+ source_hz: 15.0
236
+ target_hz: 15.0
237
+ interpolation: cubic
238
+ components:
239
+ left_arm:
240
+ space: eef
241
+ position_dims:
242
+ - 0
243
+ - 1
244
+ - 2
245
+ rotation_dims:
246
+ - 3
247
+ - 4
248
+ - 5
249
+ rotation_format: rotation_vector
250
+ gripper_dim: 6
251
+ gripper_threshold: 0.8
252
+ gripper_open_is_high: true
253
+ right_arm:
254
+ space: eef
255
+ position_dims:
256
+ - 7
257
+ - 8
258
+ - 9
259
+ rotation_dims:
260
+ - 10
261
+ - 11
262
+ - 12
263
+ rotation_format: rotation_vector
264
+ gripper_dim: 13
265
+ gripper_threshold: 0.8
266
+ gripper_open_is_high: true
267
+ - name: dual_joint6_delta
268
+ input_dim: 14
269
+ input: delta
270
+ source_hz: 15.0
271
+ target_hz: 15.0
272
+ interpolation: cubic
273
+ components:
274
+ left_arm:
275
+ space: joint
276
+ joint_dims:
277
+ - 0
278
+ - 1
279
+ - 2
280
+ - 3
281
+ - 4
282
+ - 5
283
+ gripper_dim: 6
284
+ gripper_threshold: 0.8
285
+ gripper_open_is_high: true
286
+ right_arm:
287
+ space: joint
288
+ joint_dims:
289
+ - 7
290
+ - 8
291
+ - 9
292
+ - 10
293
+ - 11
294
+ - 12
295
+ gripper_dim: 13
296
+ gripper_threshold: 0.8
297
+ gripper_open_is_high: true
298
+ - name: dual_joint7_delta
299
+ input_dim: 16
300
+ input: delta
301
+ source_hz: 15.0
302
+ target_hz: 15.0
303
+ interpolation: cubic
304
+ components:
305
+ left_arm:
306
+ space: joint
307
+ joint_dims:
308
+ - 0
309
+ - 1
310
+ - 2
311
+ - 3
312
+ - 4
313
+ - 5
314
+ - 6
315
+ gripper_dim: 7
316
+ gripper_threshold: 0.8
317
+ gripper_open_is_high: true
318
+ right_arm:
319
+ space: joint
320
+ joint_dims:
321
+ - 8
322
+ - 9
323
+ - 10
324
+ - 11
325
+ - 12
326
+ - 13
327
+ - 14
328
+ gripper_dim: 15
329
+ gripper_threshold: 0.8
330
+ gripper_open_is_high: true
331
+ - name: single_joint6_abs_continuous_gripper
332
+ input_dim: 6
333
+ input: absolute
334
+ source_hz: 15.0
335
+ target_hz: 15.0
336
+ interpolation: cubic
337
+ components:
338
+ arm:
339
+ space: joint
340
+ joint_dims:
341
+ - 0
342
+ - 1
343
+ - 2
344
+ - 3
345
+ - 4
346
+ - 5
variants/paper-2nd/config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "model_type": "actioncodec2",
3
+ "processor_class": "ActionCodec2"
4
+ }
variants/paper-2nd/processor_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "processor_class": "ActionCodec2",
3
+ "action_space": "single_eef_delta",
4
+ "fitted_profiles": [
5
+ "eef",
6
+ "joint"
7
+ ],
8
+ "auto_map": {
9
+ "AutoProcessor": "processing_actioncodec2.ActionCodec2"
10
+ }
11
+ }
variants/paper-2nd/profiles/eef/bpe.json ADDED
The diff for this file is too large to render. See raw diff
 
variants/paper-2nd/profiles/eef/config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "model_type": "actioncodec2_unified",
3
+ "processor_class": "ActionCodec2Processor"
4
+ }
variants/paper-2nd/profiles/eef/config.yaml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_type: actioncodec2_unified
2
+ config_version: 1
3
+ physical:
4
+ input_dim: 7
5
+ components:
6
+ translation_m:
7
+ dims:
8
+ start: 0
9
+ stop: 3
10
+ space: additive
11
+ input_order: 0
12
+ primitive_order: 2
13
+ input_transform:
14
+ scale: 1.0
15
+ clip: false
16
+ constraints:
17
+ order_0:
18
+ min: -2.0
19
+ max: 2.0
20
+ order_2:
21
+ min: -0.025
22
+ max: 0.025
23
+ order_1:
24
+ min: -0.08
25
+ max: 0.08
26
+ distortion_limit: 0.005
27
+ primitive_selection: smooth
28
+ orientation_so3:
29
+ dims:
30
+ start: 3
31
+ stop: 6
32
+ space: so3
33
+ input_order: 0
34
+ primitive_order: 2
35
+ input_transform:
36
+ scale: 1.0
37
+ clip: false
38
+ constraints:
39
+ order_0:
40
+ min: -3.141592653589793
41
+ max: 3.141592653589793
42
+ order_2:
43
+ min: -0.08
44
+ max: 0.08
45
+ order_1:
46
+ min: -0.25
47
+ max: 0.25
48
+ distortion_limit: 0.02
49
+ primitive_selection: smooth
50
+ representation: rotation_vector
51
+ multiplication: right
52
+ gripper_open_command:
53
+ dims:
54
+ - 6
55
+ space: additive
56
+ input_order: 0
57
+ primitive_order: 0
58
+ input_transform:
59
+ scale: 1.0
60
+ clip: true
61
+ constraints:
62
+ order_0:
63
+ min: 0.0
64
+ max: 1.0
65
+ distortion_limit: 0.5
66
+ primitive_selection: nearest
67
+ set_bpe:
68
+ lookahead: 8
69
+ allow_cross_component_merge: false
70
+ train:
71
+ primitives:
72
+ zero_primitive_components:
73
+ - translation_m
74
+ - orientation_so3
75
+ bpe:
76
+ spatial_vocab_size: 2048
77
+ vocab_size: 4096
78
+ quality_control:
79
+ hard_order_1_scale: 3.0
80
+ min_segment_length: 2
variants/paper-2nd/profiles/eef/primitives.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9da1d7bf2a81745a57f36cce40b9cd7487e46329552c1d71e4332a2ebad7a537
3
+ size 2414
variants/paper-2nd/profiles/eef/processor_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "processor_class": "ActionCodec2Processor"
3
+ }
variants/paper-2nd/profiles/joint/bpe.json ADDED
The diff for this file is too large to render. See raw diff
 
variants/paper-2nd/profiles/joint/config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "model_type": "actioncodec2_unified",
3
+ "processor_class": "ActionCodec2Processor"
4
+ }
variants/paper-2nd/profiles/joint/config.yaml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_type: actioncodec2_unified
2
+ config_version: 1
3
+ physical:
4
+ input_dim: 8
5
+ components:
6
+ generalized_joint_position:
7
+ dims:
8
+ start: 0
9
+ stop: 7
10
+ space: additive
11
+ input_order: 0
12
+ primitive_order: 2
13
+ input_transform:
14
+ scale: 1.0
15
+ clip: false
16
+ constraints:
17
+ order_0:
18
+ min: -6.283185307179586
19
+ max: 6.283185307179586
20
+ order_2:
21
+ min: -0.25
22
+ max: 0.25
23
+ order_1:
24
+ min: -0.35
25
+ max: 0.35
26
+ distortion_limit:
27
+ - 0.004
28
+ - 0.004
29
+ - 0.006
30
+ - 0.0075
31
+ - 0.015
32
+ - 0.02
33
+ - 0.02
34
+ primitive_selection: smooth
35
+ gripper_open_command:
36
+ dims:
37
+ - 7
38
+ space: additive
39
+ input_order: 0
40
+ primitive_order: 0
41
+ input_transform:
42
+ scale: 1.0
43
+ clip: true
44
+ constraints:
45
+ order_0:
46
+ min: 0.0
47
+ max: 1.0
48
+ distortion_limit: 0.5
49
+ primitive_selection: nearest
50
+ set_bpe:
51
+ lookahead: 8
52
+ allow_cross_component_merge: false
53
+ train:
54
+ primitives:
55
+ zero_primitive_components:
56
+ - generalized_joint_position
57
+ bpe:
58
+ spatial_vocab_size: 2048
59
+ vocab_size: 4096
60
+ quality_control:
61
+ hard_order_1_scale: 3.0
62
+ min_segment_length: 2