sonic-for-a3 commited on
Commit
a4e3b64
·
verified ·
1 Parent(s): 9bbddf8

Release A3 089 step 136000 models

Browse files
.gitattributes CHANGED
@@ -35,3 +35,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  035_step200000/rknn/model_step_200000_a3_fast.rknn filter=lfs diff=lfs merge=lfs -text
37
  035_step200000/rknn/model_step_200000_g1.rknn filter=lfs diff=lfs merge=lfs -text
 
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  035_step200000/rknn/model_step_200000_a3_fast.rknn filter=lfs diff=lfs merge=lfs -text
37
  035_step200000/rknn/model_step_200000_g1.rknn filter=lfs diff=lfs merge=lfs -text
38
+ 089_step136000/rknn/model_step_136000_a3_fast.rknn filter=lfs diff=lfs merge=lfs -text
39
+ 089_step136000/rknn/model_step_136000_g1.rknn filter=lfs diff=lfs merge=lfs -text
089_step136000/LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
089_step136000/README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # A3 089 step-136,000
2
+
3
+ A3 whole-body tracking checkpoint with G1 and A3-fast encoders. The full-policy
4
+ ONNX/RKNN models have input `obs_dict` float32 `[1, 1570]` and output `action`
5
+ float32 `[1, 29]`. RKNN models target RK3588 without quantization. Split
6
+ encoder/decoder ONNX files are supplied for export workflows. No SMPL encoder
7
+ is included.
8
+
9
+ The PT and path-scrubbed configurations support inference and warm-start
10
+ fine-tuning; omitted original training arguments and motion-library state mean
11
+ that exact training resume is not available. See SHA256SUMS and LICENSE.
089_step136000/SHA256SUMS ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
2
+ 41d200c73245569c38fbec2ef47d50a06fc455a094841ba7fcca10ef487500c8 README.md
3
+ 6d6883ba7850a14fbcd6472e790b1ef1150880fa6149f6a8b30dec956dd20481 config.yaml
4
+ 1d8d2af7660e03727470bfac5fe0fbd947b683663bbaead61cf27b6848753bff meta.yaml
5
+ 762be588b4747b3eeb05eddd58cf89d5158b4d0b32e1cee59d7b27216ab68985 model_config.yaml
6
+ a9bc7ea2a7937c9cf277f314fde54b56d1185b0e22ca986994945733b6198385 model_step_136000.pt
7
+ 7225c52ecc8ca8866f2b0ec58d938806fe6479fc07f7df9e88d2e310bcefa5bc onnx/model_step_136000_a3_fast.onnx
8
+ 59ffdae4b207c874cadc5656083a9fe5210d409cf5394ed650324c960db42203 onnx/model_step_136000_decoder.onnx
9
+ d08b76064ba6f79738f2c73fb0966de32a7c1259fcc266a54b7ab4e3f147c589 onnx/model_step_136000_encoder.onnx
10
+ 9006131bab66eb63f4d3502ad38ddae32e794b5b76d743061a2fea5cfe62530a onnx/model_step_136000_g1.onnx
11
+ bbc990cf417437c4ded7c066f55500bea091028af5f476bf7ca9860d5fd379bb rknn/model_step_136000_a3_fast.rknn
12
+ 35380014677648971e31d37035c8033e4bf3e792d468dd6fb9e8de15c639e8e7 rknn/model_step_136000_a3_fast.rknn.json
13
+ ef220b56aabe85c73976a509ad6bb9f397bfc3bea93862ba97152830d73b3552 rknn/model_step_136000_g1.rknn
14
+ bec22b38b100fe2e5c6bb15bedbedb9b6b91bf8e5019905bedb223b36e7805f3 rknn/model_step_136000_g1.rknn.json
089_step136000/config.yaml ADDED
@@ -0,0 +1,1304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ actor_actions_history_length: 10
2
+ actor_prop_history_length: 10
3
+ algo:
4
+ _recursive_: false
5
+ config:
6
+ actor:
7
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Actor
8
+ backbone:
9
+ _target_: gear_sonic.trl.modules.universal_token_modules.UniversalTokenModule
10
+ active_decoders:
11
+ - g1_dyn
12
+ - g1_kin
13
+ active_encoders:
14
+ - g1
15
+ - a3_fast
16
+ aux_loss_coef:
17
+ a3_fast_g1_latent: 1.0
18
+ g1_recon: 0.01
19
+ reencoded_a3_fast_g1_latent: 0.0
20
+ aux_loss_func:
21
+ a3_fast_g1_latent:
22
+ _target_: gear_sonic.trl.losses.token_losses.A3FastG1LatentLoss
23
+ loss_type: mse
24
+ g1_recon:
25
+ _target_: gear_sonic.trl.losses.token_losses.G1ReconLoss
26
+ loss_type: mse
27
+ reencoded_a3_fast_g1_latent:
28
+ _target_: gear_sonic.trl.losses.token_losses.ReencodedA3FastG1LatentLoss
29
+ loss_type: mse
30
+ cache_encoded_cpu: false
31
+ decoders:
32
+ g1_dyn:
33
+ freeze: false
34
+ has_temporal_dim: false
35
+ inputs:
36
+ - token_flattened
37
+ - proprioception
38
+ outputs:
39
+ - action
40
+ params:
41
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
42
+ input_dim: null
43
+ module_config_dict:
44
+ layer_config:
45
+ activation: SiLU
46
+ hidden_dims:
47
+ - 2048
48
+ - 2048
49
+ - 1024
50
+ - 1024
51
+ - 512
52
+ - 512
53
+ type: MLP
54
+ num_input_temporal_dims: null
55
+ num_output_temporal_dims: null
56
+ output_dim: null
57
+ g1_kin:
58
+ freeze: false
59
+ has_temporal_dim: true
60
+ inputs:
61
+ - token
62
+ outputs:
63
+ - command_multi_future_nonflat
64
+ - motion_anchor_ori_b_mf_nonflat
65
+ params:
66
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
67
+ input_dim: null
68
+ module_config_dict:
69
+ layer_config:
70
+ activation: SiLU
71
+ hidden_dims:
72
+ - 2048
73
+ - 1024
74
+ - 512
75
+ - 512
76
+ type: MLP
77
+ num_input_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
78
+ num_output_temporal_dims: ${manager_env.commands.motion.num_future_frames}
79
+ output_dim: null
80
+ encoder_sample_probs: ${manager_env.commands.motion.encoder_sample_probs}
81
+ encoders:
82
+ a3_fast:
83
+ init_from_encoder:
84
+ policy: missing_only
85
+ source: g1
86
+ inputs:
87
+ - command_multi_future_a3_fast_nonflat
88
+ - motion_anchor_ori_a3_fast_b_mf_nonflat
89
+ params:
90
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
91
+ input_dim: null
92
+ module_config_dict:
93
+ layer_config:
94
+ activation: SiLU
95
+ hidden_dims:
96
+ - 2048
97
+ - 1024
98
+ - 512
99
+ - 512
100
+ type: MLP
101
+ num_input_temporal_dims: ${manager_env.commands.motion.a3_fast_num_future_frames}
102
+ num_output_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
103
+ output_dim: null
104
+ g1:
105
+ freeze: false
106
+ inputs:
107
+ - command_multi_future_nonflat
108
+ - motion_anchor_ori_b_mf_nonflat
109
+ params:
110
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
111
+ input_dim: null
112
+ module_config_dict:
113
+ layer_config:
114
+ activation: SiLU
115
+ hidden_dims:
116
+ - 2048
117
+ - 1024
118
+ - 512
119
+ - 512
120
+ type: MLP
121
+ num_input_temporal_dims: ${manager_env.commands.motion.num_future_frames}
122
+ num_output_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
123
+ output_dim: null
124
+ smpl:
125
+ inputs:
126
+ - smpl_joints_multi_future_local_nonflat
127
+ - smpl_root_ori_b_multi_future
128
+ - joint_pos_multi_future_wrist_for_smpl
129
+ params:
130
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
131
+ input_dim: null
132
+ module_config_dict:
133
+ layer_config:
134
+ activation: SiLU
135
+ hidden_dims:
136
+ - 2048
137
+ - 1024
138
+ - 512
139
+ - 512
140
+ type: MLP
141
+ num_input_temporal_dims: ${manager_env.commands.motion.smpl_num_future_frames}
142
+ num_output_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
143
+ output_dim: null
144
+ teleop:
145
+ inputs:
146
+ - command_multi_future_lower_body
147
+ - vr_3point_local_target
148
+ - vr_3point_local_orn_target
149
+ - motion_anchor_ori_b
150
+ params:
151
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
152
+ input_dim: null
153
+ module_config_dict:
154
+ layer_config:
155
+ activation: SiLU
156
+ hidden_dims:
157
+ - 2048
158
+ - 1024
159
+ - 512
160
+ - 512
161
+ type: MLP
162
+ num_input_temporal_dims: null
163
+ num_output_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
164
+ output_dim: null
165
+ fsq_level_list: 32
166
+ max_num_tokens: 2
167
+ num_fsq_levels: 32
168
+ num_future_frames: ${manager_env.commands.motion.num_future_frames}
169
+ proprioception_features:
170
+ - actor_obs
171
+ quantizer:
172
+ _target_: vector_quantize_pytorch.FSQ
173
+ reencode_a3_fast_g1_recon: false
174
+ reencode_smpl_g1_recon: false
175
+ rollout_decoders:
176
+ - g1_dyn
177
+ rollout_encoder_exclusions:
178
+ g1:
179
+ - a3_fast
180
+ has_aux_loss: true
181
+ input_obs_dict: true
182
+ running_mean_std: false
183
+ skip_rollout_attnmask_for_history_one: true
184
+ actor_learning_rate: 2.0e-05
185
+ adaptive_empty_cache_cooldown_ppo_epochs: 5
186
+ adaptive_empty_cache_enabled: true
187
+ adaptive_empty_cache_free_frac: 0.1
188
+ adaptive_empty_cache_min_reclaimable_mb: 1024
189
+ adaptive_empty_cache_reserved_frac: 0.9
190
+ adaptive_lr_max: 0.0002
191
+ adaptive_lr_min: 1.0e-05
192
+ benchmark_synchronized_timing: false
193
+ clip_param: 0.2
194
+ compute_aux_loss: true
195
+ cpu_reduce_b_contiguous_result: true
196
+ cpu_reduce_b_lossless_lib: null
197
+ cpu_reduce_b_mode: shm_lossless_exchange
198
+ cpu_reduce_b_native_lib: null
199
+ cpu_reduce_b_numa_first_touch: true
200
+ cpu_reduce_b_result_replicas: 2
201
+ critic:
202
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Critic
203
+ backbone:
204
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
205
+ module_config_dict:
206
+ input_dim:
207
+ - critic_obs
208
+ layer_config:
209
+ activation: SiLU
210
+ hidden_dims:
211
+ - 2048
212
+ - 2048
213
+ - 1024
214
+ - 1024
215
+ - 512
216
+ - 512
217
+ type: MLP
218
+ output_dim:
219
+ - 1
220
+ type: MLP
221
+ process_output_dim: true
222
+ running_mean_std: true
223
+ critic_learning_rate: 0.001
224
+ ddp_bucket_cap_mb: 25
225
+ desired_kl: 0.01
226
+ empty_cache_every_n_ppo_epoch: -1
227
+ enable_loss_finite_diagnostics: false
228
+ entropy_coef: 0.01
229
+ eval_frequency: 500
230
+ gamma: 0.99
231
+ global_rank: 0
232
+ init_at_random_ep_len: true
233
+ init_noise_std: 0.05
234
+ lam: 0.95
235
+ load_optimizer: true
236
+ max_grad_norm: 0.1
237
+ num_learning_epochs: 5
238
+ num_learning_iterations: 200000
239
+ num_mini_batches: 4
240
+ num_steps_per_env: 24
241
+ ppo_shuffle_every_epoch: true
242
+ resume_motion_sampler_state: true
243
+ resume_optimizer_lr_from_state: true
244
+ sample_actions_in_policy_update: false
245
+ save_interval: 500
246
+ schedule: adaptive
247
+ std_clamp_max: 0.5
248
+ std_clamp_min: 0.001
249
+ strict_checkpoint_model_state: true
250
+ sync_advantage_normalization: true
251
+ tensorboard_flush_every_n_steps: 10
252
+ use_clampped_std: true
253
+ use_clipped_value_loss: true
254
+ use_fp16_ddp_comm_hook: false
255
+ use_new_actor_critic: true
256
+ use_padding_mask: false
257
+ value_loss_coef: 1.0
258
+ world_size: 32
259
+ trl:
260
+ dataset_name: dummy
261
+ disable_tqdm: true
262
+ gamma: ${algo.config.gamma}
263
+ gradient_accumulation_steps: 1
264
+ lam: ${algo.config.lam}
265
+ learning_rate: ${algo.config.actor_learning_rate}
266
+ logging_dir: ${experiment_dir}/tensorboard
267
+ lr_scheduler_type: constant
268
+ max_grad_norm: ${algo.config.max_grad_norm}
269
+ num_mini_batches: ${algo.config.num_mini_batches}
270
+ num_ppo_epochs: ${algo.config.num_learning_epochs}
271
+ num_total_batches: ${algo.config.num_learning_iterations}
272
+ output_dir: null
273
+ per_device_train_batch_size: null
274
+ report_to: tensorboard
275
+ save_strategy: 'no'
276
+ total_episodes: null
277
+ vf_coef: ${algo.config.value_loss_coef}
278
+ auto_load_latest: false
279
+ base_dir: logs_rl
280
+ callbacks:
281
+ im_resample:
282
+ _target_: gear_sonic.trl.callbacks.im_resample_callback.ImResampleCallback
283
+ motion_resample_frequency: 250
284
+ model_save:
285
+ _target_: gear_sonic.trl.callbacks.model_save_callback.ModelSaveCallback
286
+ max_disk_usage: 14.8
287
+ save_dir: ${experiment_dir}
288
+ save_frequency: 2000
289
+ read_eval:
290
+ _target_: gear_sonic.trl.callbacks.read_eval_callback.ReadEvalCallback
291
+ check_interval: 1
292
+ eval_dir: ${experiment_dir}/eval
293
+ wandb:
294
+ _target_: gear_sonic.trl.callbacks.wandb_callback.WandbCallback
295
+ checkpoint: null
296
+ codebase_version: 1.0
297
+ critic_actions_history_length: 10
298
+ critic_prop_history_length: 10
299
+ env: ???
300
+ env_spacing: 20
301
+ eval_overrides:
302
+ auto_load_latest: false
303
+ headless: false
304
+ num_envs: 1
305
+ use_wandb: false
306
+ exp_base: a3_089
307
+ exp_var: a3_089
308
+ experiment_dir: null
309
+ experiment_name: ${exp_base}_${exp_var}
310
+ force_flat_terrain: false
311
+ global_rank: 0
312
+ headless: true
313
+ log_task_name: TEST
314
+ manager_env:
315
+ _target_: gear_sonic.envs.manager_env.modular_tracking_env_cfg.ModularTrackingEnvCfg
316
+ actions:
317
+ _target_: gear_sonic.envs.manager_env.mdp.actions.ActionsCfg
318
+ joint_pos:
319
+ _target_: isaaclab.envs.mdp.actions.JointPositionActionCfg
320
+ asset_name: robot
321
+ joint_names:
322
+ - .*
323
+ use_default_offset: true
324
+ commands:
325
+ _target_: gear_sonic.envs.manager_env.mdp.commands.CommandsCfg
326
+ motion:
327
+ _target_: gear_sonic.envs.manager_env.mdp.commands.TrackingCommandCfg
328
+ a3_fast_dt_future_ref_frames: 0.02
329
+ a3_fast_num_future_frames: 10
330
+ a3_fast_valid_future_frames: null
331
+ a3_fast_zero_pad_invalid_frames: false
332
+ anchor_body: pelvis_link
333
+ asset_name: robot
334
+ body_names:
335
+ - pelvis_link
336
+ - left_hip_roll_Link
337
+ - left_knee_Link
338
+ - left_ankle_roll_Link
339
+ - right_hip_roll_Link
340
+ - right_knee_Link
341
+ - right_ankle_roll_Link
342
+ - torso_Link
343
+ - left_shoulder_roll_Link
344
+ - left_elbow_Link
345
+ - left_wrist_yaw_Link
346
+ - right_shoulder_roll_Link
347
+ - right_elbow_Link
348
+ - right_wrist_yaw_Link
349
+ cache_current_references: true
350
+ cat_upper_body_poses: false
351
+ cat_upper_body_poses_prob: 0.0
352
+ coactivate_g1_when_a3_fast: true
353
+ coactivate_g1_when_teleop: true
354
+ debug_vis: false
355
+ dt_future_ref_frames: 0.1
356
+ encoder_sample_probs:
357
+ a3_fast: 1.0
358
+ g1: 1.0
359
+ smpl: 0.0
360
+ teleop: 0.0
361
+ freeze_frame_aug: true
362
+ joint_position_range:
363
+ - -0.1
364
+ - 0.1
365
+ joint_velocity_range:
366
+ - 0
367
+ - 0
368
+ motion_lib_cfg:
369
+ adaptive_sampling:
370
+ adp_samp_failure_rate_max_over_mean: 200
371
+ bin_size: 50
372
+ decay_gamma: 0.8
373
+ enable: true
374
+ init_num_failures: 1
375
+ pre_failure_sample_window: 200
376
+ report_full_csv: false
377
+ report_top_k: 10
378
+ sequence_length_agnostic: true
379
+ state_placement: rank0_cpu_active_gpu
380
+ uniform_sampling_rate: 0.1
381
+ use_failure_rate_decay: false
382
+ asset:
383
+ assetFileName: a3_motion_skeleton.xml
384
+ assetRoot: gear_sonic/data/assets/robot_description/mjcf/
385
+ urdfFileName: ''
386
+ extend_config: []
387
+ filter_motion_keys: null
388
+ motion_file: data/agibot_a3_motion_lib_29d/robot_filtered
389
+ motion_metadata_files: null
390
+ multi_thread: true
391
+ override_num_motions_to_load: null
392
+ smpl_motion_file: dummy
393
+ smpl_y_up: true
394
+ target_fps: 50
395
+ use_semantic_manifest_metadata: true
396
+ num_future_frames: 10
397
+ pose_range:
398
+ pitch:
399
+ - -0.1
400
+ - 0.1
401
+ roll:
402
+ - -0.1
403
+ - 0.1
404
+ x:
405
+ - -0.05
406
+ - 0.05
407
+ y:
408
+ - -0.05
409
+ - 0.05
410
+ yaw:
411
+ - -0.2
412
+ - 0.2
413
+ z:
414
+ - -0.01
415
+ - 0.01
416
+ resampling_time_range:
417
+ - 1000000000.0
418
+ - 1000000000.0
419
+ reward_point_body:
420
+ - torso_Link
421
+ - left_wrist_yaw_Link
422
+ - right_wrist_yaw_Link
423
+ reward_point_body_offset:
424
+ - - 0.0507937
425
+ - 0.00056856
426
+ - 0.55502408
427
+ - - 0.11006561
428
+ - -0.00410937
429
+ - 0.0048369
430
+ - - 0.11008445
431
+ - 0.00411033
432
+ - 0.00484137
433
+ smpl_dt_future_ref_frames: 0.02
434
+ smpl_num_future_frames: 10
435
+ teleop_sample_prob_when_smpl: 0.0
436
+ velocity_range:
437
+ pitch:
438
+ - -0.52
439
+ - 0.52
440
+ roll:
441
+ - -0.52
442
+ - 0.52
443
+ x:
444
+ - -0.5
445
+ - 0.5
446
+ y:
447
+ - -0.5
448
+ - 0.5
449
+ yaw:
450
+ - -0.78
451
+ - 0.78
452
+ z:
453
+ - -0.2
454
+ - 0.2
455
+ vr_3point_body:
456
+ - left_wrist_yaw_Link
457
+ - right_wrist_yaw_Link
458
+ - torso_Link
459
+ vr_3point_body_offset:
460
+ - - 0.11006561
461
+ - -0.00410937
462
+ - 0.0048369
463
+ - - 0.11008445
464
+ - 0.00411033
465
+ - 0.00484137
466
+ - - 0.0507937
467
+ - 0.00056856
468
+ - 0.55502408
469
+ config:
470
+ action_clip_value: 20.0
471
+ action_transform_module_cfg: null
472
+ action_transform_module_checkpoint: null
473
+ adaptive_sampling_log_every_n_steps: 24
474
+ decimation: 4
475
+ env_spacing: 2.0
476
+ episode_length_s: 10.0
477
+ eval_camera_offset:
478
+ - 4.0
479
+ - 4.0
480
+ - 1.8
481
+ experiment_dir: ${experiment_dir}
482
+ meta_action_dim: null
483
+ needs_policy_atm: true
484
+ num_envs: ${num_envs}
485
+ object_mass: null
486
+ obs:
487
+ group_obs_dims: {}
488
+ group_obs_names: {}
489
+ obs_dict: {}
490
+ obs_dims: {}
491
+ render_results: false
492
+ rewards:
493
+ num_critics: 1
494
+ robot:
495
+ actuator_delay:
496
+ enabled: true
497
+ max_delay: 2
498
+ min_delay: 0
499
+ algo_obs_dim_dict: {}
500
+ asset_path: gear_sonic/data/assets/robot_description/urdf/a3/a3_089_rigid_foot.urdf
501
+ disable_passive_foot: true
502
+ dynamic_ankle:
503
+ enabled: true
504
+ jacobian_table_dir: null
505
+ mode: nominal
506
+ motor_armature: 0.0120833687062
507
+ shared_action_delay: true
508
+ enable_self_collisions: true
509
+ enable_self_contact_reward_sensors: true
510
+ self_collision_review_manifest: gear_sonic/config/collision/a3_089_rigid_foot_pairs.json
511
+ self_contact_every_step_fast_path: true
512
+ type: a3_exp023
513
+ use_fitted_passive_foot_gains: false
514
+ save_rendering_dir: ${experiment_dir}/renderings_training
515
+ sim_dt: 0.005
516
+ store_env_actions_in_extras: false
517
+ table_offset: null
518
+ terrain_compliant_contact_damping: 650.0
519
+ terrain_compliant_contact_stiffness: 69050.0
520
+ terrain_type: trimesh
521
+ train_only_events:
522
+ - push_robot
523
+ - compliance_force_push
524
+ viewer_eye:
525
+ - 4.5
526
+ - 0.0
527
+ - 6.0
528
+ viewer_lookat:
529
+ - 0.0
530
+ - 0.0
531
+ - 2.0
532
+ curriculum:
533
+ _target_: gear_sonic.envs.manager_env.mdp.curriculum.CurriculumCfg
534
+ events:
535
+ _target_: gear_sonic.envs.manager_env.mdp.events.EventCfg
536
+ add_joint_default_pos:
537
+ _target_: isaaclab.managers.EventTermCfg
538
+ func: gear_sonic.envs.manager_env.mdp:randomize_joint_default_pos
539
+ mode: startup
540
+ params:
541
+ asset_cfg:
542
+ _target_: isaaclab.managers.SceneEntityCfg
543
+ joint_names:
544
+ - .*
545
+ name: robot
546
+ operation: add
547
+ pos_distribution_params:
548
+ - -0.01
549
+ - 0.01
550
+ base_com:
551
+ _target_: isaaclab.managers.EventTermCfg
552
+ func: gear_sonic.envs.manager_env.mdp:randomize_rigid_body_com
553
+ mode: startup
554
+ params:
555
+ asset_cfg:
556
+ _target_: isaaclab.managers.SceneEntityCfg
557
+ body_names: torso_Link
558
+ name: robot
559
+ com_range:
560
+ x:
561
+ - -0.025
562
+ - 0.025
563
+ y:
564
+ - -0.05
565
+ - 0.05
566
+ z:
567
+ - -0.05
568
+ - 0.05
569
+ hand_payload_mass:
570
+ _target_: isaaclab.managers.EventTermCfg
571
+ func: gear_sonic.envs.manager_env.mdp:randomize_rigid_body_mass
572
+ mode: startup
573
+ params:
574
+ asset_cfg:
575
+ _target_: isaaclab.managers.SceneEntityCfg
576
+ body_names:
577
+ - left_wrist_yaw_Link
578
+ - right_wrist_yaw_Link
579
+ name: robot
580
+ mass_distribution_params:
581
+ - -0.2
582
+ - 2.0
583
+ min_mass: 0.05
584
+ operation: add
585
+ recompute_inertia: true
586
+ joint_actuator_gains:
587
+ _target_: isaaclab.managers.EventTermCfg
588
+ func: gear_sonic.envs.manager_env.mdp:randomize_actuator_stiffness_with_damping_ratio
589
+ mode: reset
590
+ params:
591
+ asset_cfg:
592
+ _target_: isaaclab.managers.SceneEntityCfg
593
+ joint_names:
594
+ - waist_yaw_joint
595
+ - waist_roll_joint
596
+ - waist_pitch_joint
597
+ - left_shoulder_pitch_joint
598
+ - left_shoulder_roll_joint
599
+ - left_shoulder_yaw_joint
600
+ - left_elbow_joint
601
+ - left_wrist_roll_joint
602
+ - left_wrist_pitch_joint
603
+ - left_wrist_yaw_joint
604
+ - right_shoulder_pitch_joint
605
+ - right_shoulder_roll_joint
606
+ - right_shoulder_yaw_joint
607
+ - right_elbow_joint
608
+ - right_wrist_roll_joint
609
+ - right_wrist_pitch_joint
610
+ - right_wrist_yaw_joint
611
+ - left_hip_pitch_joint
612
+ - left_hip_roll_joint
613
+ - left_hip_yaw_joint
614
+ - left_knee_joint
615
+ - left_ankle_pitch_joint
616
+ - left_ankle_roll_joint
617
+ - right_hip_pitch_joint
618
+ - right_hip_roll_joint
619
+ - right_hip_yaw_joint
620
+ - right_knee_joint
621
+ - right_ankle_pitch_joint
622
+ - right_ankle_roll_joint
623
+ name: robot
624
+ damping_ratio_distribution_params:
625
+ - 0.5
626
+ - 2.0
627
+ distribution: uniform
628
+ stiffness_distribution_params:
629
+ - 0.8
630
+ - 1.2
631
+ joint_soft_pos_limits:
632
+ _target_: isaaclab.managers.EventTermCfg
633
+ func: gear_sonic.envs.manager_env.mdp:set_joint_soft_pos_limit_factor
634
+ mode: startup
635
+ params:
636
+ asset_cfg:
637
+ _target_: isaaclab.managers.SceneEntityCfg
638
+ joint_names:
639
+ - waist_yaw_joint
640
+ - waist_roll_joint
641
+ - waist_pitch_joint
642
+ name: robot
643
+ factor: 0.8
644
+ passive_foot_actuator_gains: null
645
+ physics_mass_other_links:
646
+ _target_: isaaclab.managers.EventTermCfg
647
+ func: gear_sonic.envs.manager_env.mdp:randomize_rigid_body_mass
648
+ mode: startup
649
+ params:
650
+ asset_cfg:
651
+ _target_: isaaclab.managers.SceneEntityCfg
652
+ body_names: ^(?!torso_Link$).+
653
+ name: robot
654
+ mass_distribution_params:
655
+ - 0.9
656
+ - 1.1
657
+ operation: scale
658
+ recompute_inertia: true
659
+ physics_mass_torso:
660
+ _target_: isaaclab.managers.EventTermCfg
661
+ func: gear_sonic.envs.manager_env.mdp:randomize_rigid_body_mass
662
+ mode: startup
663
+ params:
664
+ asset_cfg:
665
+ _target_: isaaclab.managers.SceneEntityCfg
666
+ body_names: torso_Link
667
+ name: robot
668
+ mass_distribution_params:
669
+ - 0.8
670
+ - 1.3
671
+ operation: scale
672
+ recompute_inertia: true
673
+ physics_material:
674
+ _target_: isaaclab.managers.EventTermCfg
675
+ func: gear_sonic.envs.manager_env.mdp:randomize_rigid_body_material
676
+ mode: startup
677
+ params:
678
+ asset_cfg:
679
+ _target_: isaaclab.managers.SceneEntityCfg
680
+ body_names: .*
681
+ name: robot
682
+ dynamic_friction_range:
683
+ - 0.3
684
+ - 1.2
685
+ num_buckets: 64
686
+ restitution_range:
687
+ - 0.0
688
+ - 0.5
689
+ static_friction_range:
690
+ - 0.3
691
+ - 1.6
692
+ push_robot:
693
+ _target_: isaaclab.managers.EventTermCfg
694
+ func: gear_sonic.envs.manager_env.mdp:push_by_setting_velocity
695
+ interval_range_s:
696
+ - 4.0
697
+ - 6.0
698
+ mode: interval
699
+ params:
700
+ velocity_range:
701
+ pitch:
702
+ - -0.52
703
+ - 0.52
704
+ roll:
705
+ - -0.52
706
+ - 0.52
707
+ x:
708
+ - -0.5
709
+ - 0.5
710
+ y:
711
+ - -0.5
712
+ - 0.5
713
+ yaw:
714
+ - -0.78
715
+ - 0.78
716
+ z:
717
+ - -0.2
718
+ - 0.2
719
+ randomize_rigid_body_mass: null
720
+ robot_joint_friction_armature_ankle_waist:
721
+ _target_: isaaclab.managers.EventTermCfg
722
+ func: isaaclab.envs.mdp:randomize_joint_parameters
723
+ min_step_count_between_reset: 24000
724
+ mode: reset
725
+ params:
726
+ armature_distribution_params:
727
+ - 0.5
728
+ - 1.5
729
+ asset_cfg:
730
+ _target_: isaaclab.managers.SceneEntityCfg
731
+ joint_names:
732
+ - waist_pitch_joint
733
+ - waist_roll_joint
734
+ name: robot
735
+ distribution: uniform
736
+ friction_distribution_params:
737
+ - 1.0
738
+ - 3.0
739
+ operation: scale
740
+ robot_joint_friction_armature_regular:
741
+ _target_: isaaclab.managers.EventTermCfg
742
+ func: isaaclab.envs.mdp:randomize_joint_parameters
743
+ min_step_count_between_reset: 24000
744
+ mode: reset
745
+ params:
746
+ armature_distribution_params:
747
+ - 0.5
748
+ - 1.5
749
+ asset_cfg:
750
+ _target_: isaaclab.managers.SceneEntityCfg
751
+ joint_names:
752
+ - .*_hip_roll_joint
753
+ - .*_hip_yaw_joint
754
+ - .*_hip_pitch_joint
755
+ - .*_knee_joint
756
+ - waist_yaw_joint
757
+ - .*_shoulder_pitch_joint
758
+ - .*_shoulder_roll_joint
759
+ - .*_shoulder_yaw_joint
760
+ - .*_elbow_joint
761
+ - .*_wrist_roll_joint
762
+ - .*_wrist_pitch_joint
763
+ - .*_wrist_yaw_joint
764
+ name: robot
765
+ distribution: uniform
766
+ friction_distribution_params:
767
+ - 1.0
768
+ - 3.0
769
+ operation: scale
770
+ ankle_motor_inertia:
771
+ _target_: isaaclab.managers.EventTermCfg
772
+ func: gear_sonic.envs.manager_env.a3_dynamic_articulation:randomize_a3_ankle_motor_inertia
773
+ min_step_count_between_reset: 24000
774
+ mode: reset
775
+ params:
776
+ scale_range:
777
+ - 0.7
778
+ - 2.0
779
+ robot_joint_friction_ankle:
780
+ _target_: isaaclab.managers.EventTermCfg
781
+ func: isaaclab.envs.mdp:randomize_joint_parameters
782
+ min_step_count_between_reset: 24000
783
+ mode: reset
784
+ params:
785
+ asset_cfg:
786
+ _target_: isaaclab.managers.SceneEntityCfg
787
+ joint_names:
788
+ - .*_ankle_pitch_joint
789
+ - .*_ankle_roll_joint
790
+ name: robot
791
+ distribution: uniform
792
+ friction_distribution_params:
793
+ - 1.0
794
+ - 3.0
795
+ operation: scale
796
+ observations:
797
+ _target_: gear_sonic.envs.manager_env.mdp.observations.ObservationsCfg
798
+ critic:
799
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PrivilegedCfg
800
+ actions:
801
+ _target_: isaaclab.managers.ObservationTermCfg
802
+ func: gear_sonic.envs.manager_env.mdp:last_action
803
+ history_length: ${critic_actions_history_length}
804
+ base_ang_vel:
805
+ _target_: isaaclab.managers.ObservationTermCfg
806
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
807
+ history_length: ${critic_prop_history_length}
808
+ base_lin_vel:
809
+ _target_: isaaclab.managers.ObservationTermCfg
810
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
811
+ history_length: ${critic_prop_history_length}
812
+ body_ori:
813
+ _target_: isaaclab.managers.ObservationTermCfg
814
+ func: gear_sonic.envs.manager_env.mdp:robot_body_ori_b
815
+ params:
816
+ command_name: motion
817
+ body_pos:
818
+ _target_: isaaclab.managers.ObservationTermCfg
819
+ func: gear_sonic.envs.manager_env.mdp:robot_body_pos_b
820
+ params:
821
+ command_name: motion
822
+ command_multi_future:
823
+ _target_: isaaclab.managers.ObservationTermCfg
824
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
825
+ params:
826
+ command_name: motion
827
+ joint_pos:
828
+ _target_: isaaclab.managers.ObservationTermCfg
829
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
830
+ history_length: ${critic_prop_history_length}
831
+ joint_vel:
832
+ _target_: isaaclab.managers.ObservationTermCfg
833
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
834
+ history_length: ${critic_prop_history_length}
835
+ motion_anchor_ori_b:
836
+ _target_: isaaclab.managers.ObservationTermCfg
837
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
838
+ params:
839
+ command_name: motion
840
+ motion_anchor_pos_b:
841
+ _target_: isaaclab.managers.ObservationTermCfg
842
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
843
+ params:
844
+ command_name: motion
845
+ policy:
846
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyCfg
847
+ actions:
848
+ _target_: isaaclab.managers.ObservationTermCfg
849
+ func: gear_sonic.envs.manager_env.mdp:last_action
850
+ history_length: ${actor_actions_history_length}
851
+ base_ang_vel:
852
+ _target_: isaaclab.managers.ObservationTermCfg
853
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
854
+ history_length: ${actor_prop_history_length}
855
+ noise:
856
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
857
+ n_max: 0.2
858
+ n_min: -0.2
859
+ concatenate_terms: true
860
+ enable_corruption: true
861
+ gravity_dir:
862
+ _target_: isaaclab.managers.ObservationTermCfg
863
+ func: gear_sonic.envs.manager_env.mdp:gravity_dir
864
+ history_length: ${actor_prop_history_length}
865
+ noise:
866
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
867
+ n_max: 0.05
868
+ n_min: -0.05
869
+ params:
870
+ command_name: motion
871
+ joint_pos:
872
+ _target_: isaaclab.managers.ObservationTermCfg
873
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
874
+ history_length: ${actor_prop_history_length}
875
+ noise:
876
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
877
+ n_max: 0.01
878
+ n_min: -0.01
879
+ joint_vel:
880
+ _target_: isaaclab.managers.ObservationTermCfg
881
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
882
+ history_length: ${actor_prop_history_length}
883
+ noise:
884
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
885
+ n_max: 0.5
886
+ n_min: -0.5
887
+ tokenizer:
888
+ _target_: gear_sonic.envs.manager_env.mdp.observations.TokenizerCfg
889
+ command_multi_future_a3_fast_nonflat:
890
+ _target_: isaaclab.managers.ObservationTermCfg
891
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future_a3_fast
892
+ params:
893
+ command_name: motion
894
+ non_flatten: true
895
+ command_multi_future_lower_body:
896
+ _target_: isaaclab.managers.ObservationTermCfg
897
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future_lower_body
898
+ params:
899
+ command_name: motion
900
+ command_multi_future_nonflat:
901
+ _target_: isaaclab.managers.ObservationTermCfg
902
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
903
+ params:
904
+ command_name: motion
905
+ non_flatten: true
906
+ command_z:
907
+ _target_: isaaclab.managers.ObservationTermCfg
908
+ func: gear_sonic.envs.manager_env.mdp:command_z
909
+ params:
910
+ command_name: motion
911
+ command_z_multi_future_nonflat:
912
+ _target_: isaaclab.managers.ObservationTermCfg
913
+ func: gear_sonic.envs.manager_env.mdp:command_z_multi_future
914
+ params:
915
+ command_name: motion
916
+ non_flatten: true
917
+ concatenate_terms: false
918
+ enable_corruption: true
919
+ encoder_index:
920
+ _target_: isaaclab.managers.ObservationTermCfg
921
+ func: gear_sonic.envs.manager_env.mdp:get_command_obs
922
+ params:
923
+ command_name: motion
924
+ obs_name: episode_encoder_index
925
+ joint_pos_multi_future_wrist_for_smpl:
926
+ _target_: isaaclab.managers.ObservationTermCfg
927
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_multi_future_select_joints_for_smpl
928
+ params:
929
+ command_name: motion
930
+ joints_idx:
931
+ - 23
932
+ - 24
933
+ - 25
934
+ - 26
935
+ - 27
936
+ - 28
937
+ motion_anchor_ori_a3_fast_b_mf_nonflat:
938
+ _target_: isaaclab.managers.ObservationTermCfg
939
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_a3_fast_b_mf
940
+ noise:
941
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
942
+ n_max: 0.05
943
+ n_min: -0.05
944
+ params:
945
+ command_name: motion
946
+ non_flatten: true
947
+ motion_anchor_ori_b:
948
+ _target_: isaaclab.managers.ObservationTermCfg
949
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
950
+ noise:
951
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
952
+ n_max: 0.05
953
+ n_min: -0.05
954
+ params:
955
+ command_name: motion
956
+ motion_anchor_ori_b_mf_nonflat:
957
+ _target_: isaaclab.managers.ObservationTermCfg
958
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
959
+ noise:
960
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
961
+ n_max: 0.05
962
+ n_min: -0.05
963
+ params:
964
+ command_name: motion
965
+ non_flatten: true
966
+ smpl_joints_multi_future_local_nonflat:
967
+ _target_: isaaclab.managers.ObservationTermCfg
968
+ func: gear_sonic.envs.manager_env.mdp:smpl_joints_multi_future_local
969
+ noise:
970
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
971
+ n_max: 0.05
972
+ n_min: -0.05
973
+ params:
974
+ command_name: motion
975
+ non_flatten: true
976
+ smpl_root_ori_b_multi_future:
977
+ _target_: isaaclab.managers.ObservationTermCfg
978
+ func: gear_sonic.envs.manager_env.mdp:smpl_root_ori_b_mf
979
+ noise:
980
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
981
+ n_max: 0.05
982
+ n_min: -0.05
983
+ params:
984
+ command_name: motion
985
+ non_flatten: true
986
+ vr_3point_local_orn_target:
987
+ _target_: isaaclab.managers.ObservationTermCfg
988
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_orn_target
989
+ params:
990
+ command_name: motion
991
+ vr_3point_local_target:
992
+ _target_: isaaclab.managers.ObservationTermCfg
993
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_target
994
+ params:
995
+ command_name: motion
996
+ recorders:
997
+ _target_: gear_sonic.envs.manager_env.mdp.recorders.RecordersCfg
998
+ rewards:
999
+ _target_: gear_sonic.envs.manager_env.mdp.rewards.RewardsCfg
1000
+ action_rate_l2:
1001
+ _target_: isaaclab.managers.RewardTermCfg
1002
+ func: gear_sonic.envs.manager_env.mdp:action_rate_l2
1003
+ weight: -0.1
1004
+ ankle_motor_fixed_torque:
1005
+ _target_: isaaclab.managers.RewardTermCfg
1006
+ func: gear_sonic.envs.manager_env.mdp:A3AnkleMotorConstraintPenalty
1007
+ params:
1008
+ asset_cfg:
1009
+ _target_: isaaclab.managers.SceneEntityCfg
1010
+ name: robot
1011
+ constraint: fixed_torque
1012
+ lambda_soft: 0.0
1013
+ lambda_violation: 5.0
1014
+ motor_torque_limit_nm: 58.0
1015
+ soft_exponent: 2.0
1016
+ threshold_ratio: 1.0
1017
+ utilization_cap: 2.0
1018
+ violation_exponent: 1.0
1019
+ weight: -1.0
1020
+ ankle_motor_power:
1021
+ _target_: isaaclab.managers.RewardTermCfg
1022
+ func: gear_sonic.envs.manager_env.mdp:A3AnkleMotorConstraintPenalty
1023
+ params:
1024
+ asset_cfg:
1025
+ _target_: isaaclab.managers.SceneEntityCfg
1026
+ name: robot
1027
+ constraint: power
1028
+ lambda_soft: 1.0
1029
+ lambda_violation: 5.0
1030
+ motor_power_limit_w: 971.799338
1031
+ soft_exponent: 2.0
1032
+ threshold_ratio: 0.8
1033
+ utilization_cap: 2.0
1034
+ violation_exponent: 2.0
1035
+ weight: -2.0
1036
+ ankle_motor_speed:
1037
+ _target_: isaaclab.managers.RewardTermCfg
1038
+ func: gear_sonic.envs.manager_env.mdp:A3AnkleMotorConstraintPenalty
1039
+ params:
1040
+ asset_cfg:
1041
+ _target_: isaaclab.managers.SceneEntityCfg
1042
+ name: robot
1043
+ constraint: speed
1044
+ lambda_soft: 1.0
1045
+ lambda_violation: 5.0
1046
+ motor_speed_limit_rad_s: 23.561945
1047
+ soft_exponent: 2.0
1048
+ threshold_ratio: 0.8
1049
+ utilization_cap: 2.0
1050
+ violation_exponent: 2.0
1051
+ weight: -2.0
1052
+ ankle_position_85:
1053
+ _target_: isaaclab.managers.RewardTermCfg
1054
+ func: gear_sonic.envs.manager_env.mdp:A3AnklePositionPenalty
1055
+ params:
1056
+ asset_cfg:
1057
+ _target_: isaaclab.managers.SceneEntityCfg
1058
+ name: robot
1059
+ exponent: 2.0
1060
+ threshold_ratio: 0.85
1061
+ weight: -10.0
1062
+ anti_shake_ang_vel:
1063
+ _target_: isaaclab.managers.RewardTermCfg
1064
+ func: gear_sonic.envs.manager_env.mdp:anti_shake_ang_vel_l2
1065
+ params:
1066
+ body_names:
1067
+ - left_wrist_yaw_Link
1068
+ - right_wrist_yaw_Link
1069
+ - torso_Link
1070
+ command_name: motion
1071
+ threshold: 1.5
1072
+ weight: -0.005
1073
+ feet_acc:
1074
+ _target_: isaaclab.managers.RewardTermCfg
1075
+ func: gear_sonic.envs.manager_env.mdp:joint_acc_l2
1076
+ params:
1077
+ asset_cfg:
1078
+ _target_: isaaclab.managers.SceneEntityCfg
1079
+ joint_names:
1080
+ - .*ankle.*
1081
+ name: robot
1082
+ weight: -2.5e-06
1083
+ joint_limit:
1084
+ _target_: isaaclab.managers.RewardTermCfg
1085
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_limits
1086
+ params:
1087
+ asset_cfg:
1088
+ _target_: isaaclab.managers.SceneEntityCfg
1089
+ joint_names:
1090
+ - .*
1091
+ name: robot
1092
+ weight: -10.0
1093
+ motor_tn_parallel:
1094
+ _target_: isaaclab.managers.RewardTermCfg
1095
+ func: gear_sonic.envs.manager_env.mdp:A3MotorTNPenalty
1096
+ params:
1097
+ asset_cfg:
1098
+ _target_: isaaclab.managers.SceneEntityCfg
1099
+ name: robot
1100
+ component: combined
1101
+ group: parallel
1102
+ lambda_soft: 0.05
1103
+ lambda_violation: 5.0
1104
+ soft_exponent: 8.0
1105
+ utilization_cap: 2.0
1106
+ violation_exponent: 2.0
1107
+ weight: -1.0
1108
+ motor_tn_serial:
1109
+ _target_: isaaclab.managers.RewardTermCfg
1110
+ func: gear_sonic.envs.manager_env.mdp:A3MotorTNPenalty
1111
+ params:
1112
+ asset_cfg:
1113
+ _target_: isaaclab.managers.SceneEntityCfg
1114
+ name: robot
1115
+ component: combined
1116
+ group: serial
1117
+ lambda_soft: 0.05
1118
+ lambda_violation: 5.0
1119
+ soft_exponent: 8.0
1120
+ utilization_cap: 2.0
1121
+ violation_exponent: 2.0
1122
+ weight: -1.0
1123
+ parallel_ankle_cross:
1124
+ _target_: isaaclab.managers.RewardTermCfg
1125
+ func: gear_sonic.envs.manager_env.mdp:A3ParallelJointCrossPenalty
1126
+ params:
1127
+ asset_cfg:
1128
+ _target_: isaaclab.managers.SceneEntityCfg
1129
+ name: robot
1130
+ group: ankle
1131
+ joint_effort_limits:
1132
+ left_ankle_pitch_joint: 118.2
1133
+ left_ankle_roll_joint: 54.75
1134
+ right_ankle_pitch_joint: 118.2
1135
+ right_ankle_roll_joint: 54.75
1136
+ threshold_ratio: 0.75
1137
+ weight: -0.1
1138
+ parallel_waist_cross:
1139
+ _target_: isaaclab.managers.RewardTermCfg
1140
+ func: gear_sonic.envs.manager_env.mdp:A3ParallelJointCrossPenalty
1141
+ params:
1142
+ asset_cfg:
1143
+ _target_: isaaclab.managers.SceneEntityCfg
1144
+ name: robot
1145
+ group: waist
1146
+ joint_effort_limits:
1147
+ waist_pitch_joint: 115.0
1148
+ waist_roll_joint: 46.0
1149
+ threshold_ratio: 0.75
1150
+ weight: -0.05
1151
+ tracking_anchor_ori:
1152
+ _target_: isaaclab.managers.RewardTermCfg
1153
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_ori_error
1154
+ params:
1155
+ command_name: motion
1156
+ std: 0.4
1157
+ weight: 0.5
1158
+ tracking_anchor_pos:
1159
+ _target_: isaaclab.managers.RewardTermCfg
1160
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_pos_error
1161
+ params:
1162
+ command_name: motion
1163
+ std: 0.3
1164
+ weight: 0.5
1165
+ tracking_body_angvel:
1166
+ _target_: isaaclab.managers.RewardTermCfg
1167
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_angvel_error
1168
+ params:
1169
+ command_name: motion
1170
+ std: 3.14
1171
+ weight: 1.0
1172
+ tracking_body_linvel:
1173
+ _target_: isaaclab.managers.RewardTermCfg
1174
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_linvel_error
1175
+ params:
1176
+ command_name: motion
1177
+ std: 1.0
1178
+ weight: 1.0
1179
+ tracking_relative_body_ori:
1180
+ _target_: isaaclab.managers.RewardTermCfg
1181
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_ori_error
1182
+ params:
1183
+ command_name: motion
1184
+ std: 0.4
1185
+ weight: 1.0
1186
+ tracking_relative_body_ori_weighted: null
1187
+ tracking_relative_body_pos:
1188
+ _target_: isaaclab.managers.RewardTermCfg
1189
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_pos_error
1190
+ params:
1191
+ command_name: motion
1192
+ std: 0.3
1193
+ weight: 1.0
1194
+ tracking_vr_5point_local:
1195
+ _target_: isaaclab.managers.RewardTermCfg
1196
+ func: gear_sonic.envs.manager_env.mdp:tracking_local_vr_5point_error
1197
+ params:
1198
+ command_name: motion
1199
+ std: 0.1
1200
+ weight: 2.0
1201
+ undesired_contacts:
1202
+ _target_: isaaclab.managers.RewardTermCfg
1203
+ func: gear_sonic.envs.manager_env.mdp:undesired_contacts
1204
+ params:
1205
+ sensor_cfg:
1206
+ _target_: isaaclab.managers.SceneEntityCfg
1207
+ body_names:
1208
+ - ^(?!(left_ankle_roll|right_ankle_roll|left_wrist_yaw|right_wrist_yaw|left_elbow|right_elbow|left_knee|right_knee|left_hand|right_hand|left_foot_forefoot|right_foot_forefoot|left_foot_toe|right_foot_toe)_Link$).+$
1209
+ name: contact_forces
1210
+ threshold: 1.0
1211
+ weight: -0.1
1212
+ self_collision_contacts:
1213
+ _target_: isaaclab.managers.RewardTermCfg
1214
+ func: gear_sonic.envs.manager_env.robots.a3_self_contact_reward:self_collision_contacts
1215
+ params:
1216
+ threshold: 1.0
1217
+ weight: -0.1
1218
+ tracking_wrist_joint_angle:
1219
+ _target_: isaaclab.managers.RewardTermCfg
1220
+ func: gear_sonic.envs.manager_env.mdp:tracking_wrist_joint_angle_error
1221
+ params:
1222
+ command_name: motion
1223
+ joint_names:
1224
+ - left_wrist_roll_joint
1225
+ - left_wrist_pitch_joint
1226
+ - left_wrist_yaw_joint
1227
+ - right_wrist_roll_joint
1228
+ - right_wrist_pitch_joint
1229
+ - right_wrist_yaw_joint
1230
+ std: 0.15
1231
+ weight: 0.5
1232
+ terminations:
1233
+ _target_: gear_sonic.envs.manager_env.mdp.terminations.TerminationsCfg
1234
+ anchor_ori_full:
1235
+ _target_: isaaclab.managers.TerminationTermCfg
1236
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_ori
1237
+ params:
1238
+ asset_cfg:
1239
+ _target_: isaaclab.managers.SceneEntityCfg
1240
+ name: robot
1241
+ command_name: motion
1242
+ threshold: 0.2
1243
+ anchor_pos:
1244
+ _target_: isaaclab.managers.TerminationTermCfg
1245
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_height
1246
+ params:
1247
+ command_name: motion
1248
+ down_threshold: 0.75
1249
+ root_height_threshold: 0.75
1250
+ threshold: 0.2
1251
+ threshold_adaptive: true
1252
+ ee_body_pos:
1253
+ _target_: isaaclab.managers.TerminationTermCfg
1254
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_height
1255
+ params:
1256
+ body_names:
1257
+ - left_ankle_roll_Link
1258
+ - right_ankle_roll_Link
1259
+ - left_wrist_yaw_Link
1260
+ - right_wrist_yaw_Link
1261
+ command_name: motion
1262
+ down_threshold: 0.75
1263
+ root_height_threshold: 0.75
1264
+ threshold: 0.2
1265
+ threshold_adaptive: true
1266
+ foot_pos_xyz:
1267
+ _target_: isaaclab.managers.TerminationTermCfg
1268
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_pos
1269
+ params:
1270
+ body_names:
1271
+ - left_ankle_roll_Link
1272
+ - right_ankle_roll_Link
1273
+ command_name: motion
1274
+ threshold: 0.25
1275
+ time_out:
1276
+ _target_: isaaclab.managers.TerminationTermCfg
1277
+ func: gear_sonic.envs.manager_env.mdp:tracking_time_out
1278
+ params:
1279
+ command_name: motion
1280
+ time_out: true
1281
+ max_retries: 1
1282
+ multi_gpu: true
1283
+ num_envs: 4096
1284
+ num_gpus: 1
1285
+ output_dir: ${experiment_dir}/output
1286
+ project_name: TRL_A3_089
1287
+ resume: false
1288
+ resume_in_place: false
1289
+ save_dir: ${experiment_dir}
1290
+ seed: 0
1291
+ sim_type: isaacsim
1292
+ terrain: ???
1293
+ timestamp: ${now:%Y%m%d_%H%M%S}
1294
+ trainer:
1295
+ _target_: gear_sonic.trl.trainer.ppo_trainer_aux_loss.TRLAuxLossPPOTrainer
1296
+ use_manager_env: true
1297
+ use_wandb: false
1298
+ wandb:
1299
+ wandb_dir: /tmp
1300
+ wandb_entity: null
1301
+ wandb_group: null
1302
+ wandb_id: null
1303
+ wandb_project: null
1304
+ wandb_tags: online
089_step136000/meta.yaml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ max_train_steps: 136000
2
+ wandb_run: null
089_step136000/model_config.yaml ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ algo_config:
2
+ actor:
3
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Actor
4
+ backbone:
5
+ _target_: gear_sonic.trl.modules.universal_token_modules.UniversalTokenModule
6
+ active_decoders:
7
+ - g1_dyn
8
+ - g1_kin
9
+ active_encoders:
10
+ - g1
11
+ - a3_fast
12
+ aux_loss_coef:
13
+ a3_fast_g1_latent: 1.0
14
+ g1_recon: 0.01
15
+ reencoded_a3_fast_g1_latent: 0.0
16
+ aux_loss_func:
17
+ a3_fast_g1_latent:
18
+ _target_: gear_sonic.trl.losses.token_losses.A3FastG1LatentLoss
19
+ loss_type: mse
20
+ g1_recon:
21
+ _target_: gear_sonic.trl.losses.token_losses.G1ReconLoss
22
+ loss_type: mse
23
+ reencoded_a3_fast_g1_latent:
24
+ _target_: gear_sonic.trl.losses.token_losses.ReencodedA3FastG1LatentLoss
25
+ loss_type: mse
26
+ cache_encoded_cpu: false
27
+ decoders:
28
+ g1_dyn:
29
+ freeze: false
30
+ has_temporal_dim: false
31
+ inputs:
32
+ - token_flattened
33
+ - proprioception
34
+ outputs:
35
+ - action
36
+ params:
37
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
38
+ input_dim: null
39
+ module_config_dict:
40
+ layer_config:
41
+ activation: SiLU
42
+ hidden_dims:
43
+ - 2048
44
+ - 2048
45
+ - 1024
46
+ - 1024
47
+ - 512
48
+ - 512
49
+ type: MLP
50
+ num_input_temporal_dims: null
51
+ num_output_temporal_dims: null
52
+ output_dim: null
53
+ g1_kin:
54
+ freeze: false
55
+ has_temporal_dim: true
56
+ inputs:
57
+ - token
58
+ outputs:
59
+ - command_multi_future_nonflat
60
+ - motion_anchor_ori_b_mf_nonflat
61
+ params:
62
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
63
+ input_dim: null
64
+ module_config_dict:
65
+ layer_config:
66
+ activation: SiLU
67
+ hidden_dims:
68
+ - 2048
69
+ - 1024
70
+ - 512
71
+ - 512
72
+ type: MLP
73
+ num_input_temporal_dims: 2
74
+ num_output_temporal_dims: 10
75
+ output_dim: null
76
+ encoder_sample_probs:
77
+ a3_fast: 1.0
78
+ g1: 1.0
79
+ smpl: 0.0
80
+ teleop: 0.0
81
+ encoders:
82
+ a3_fast:
83
+ init_from_encoder:
84
+ policy: missing_only
85
+ source: g1
86
+ inputs:
87
+ - command_multi_future_a3_fast_nonflat
88
+ - motion_anchor_ori_a3_fast_b_mf_nonflat
89
+ params:
90
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
91
+ input_dim: null
92
+ module_config_dict:
93
+ layer_config:
94
+ activation: SiLU
95
+ hidden_dims:
96
+ - 2048
97
+ - 1024
98
+ - 512
99
+ - 512
100
+ type: MLP
101
+ num_input_temporal_dims: 10
102
+ num_output_temporal_dims: 2
103
+ output_dim: null
104
+ g1:
105
+ freeze: false
106
+ inputs:
107
+ - command_multi_future_nonflat
108
+ - motion_anchor_ori_b_mf_nonflat
109
+ params:
110
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
111
+ input_dim: null
112
+ module_config_dict:
113
+ layer_config:
114
+ activation: SiLU
115
+ hidden_dims:
116
+ - 2048
117
+ - 1024
118
+ - 512
119
+ - 512
120
+ type: MLP
121
+ num_input_temporal_dims: 10
122
+ num_output_temporal_dims: 2
123
+ output_dim: null
124
+ smpl:
125
+ inputs:
126
+ - smpl_joints_multi_future_local_nonflat
127
+ - smpl_root_ori_b_multi_future
128
+ - joint_pos_multi_future_wrist_for_smpl
129
+ params:
130
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
131
+ input_dim: null
132
+ module_config_dict:
133
+ layer_config:
134
+ activation: SiLU
135
+ hidden_dims:
136
+ - 2048
137
+ - 1024
138
+ - 512
139
+ - 512
140
+ type: MLP
141
+ num_input_temporal_dims: 10
142
+ num_output_temporal_dims: 2
143
+ output_dim: null
144
+ teleop:
145
+ inputs:
146
+ - command_multi_future_lower_body
147
+ - vr_3point_local_target
148
+ - vr_3point_local_orn_target
149
+ - motion_anchor_ori_b
150
+ params:
151
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
152
+ input_dim: null
153
+ module_config_dict:
154
+ layer_config:
155
+ activation: SiLU
156
+ hidden_dims:
157
+ - 2048
158
+ - 1024
159
+ - 512
160
+ - 512
161
+ type: MLP
162
+ num_input_temporal_dims: null
163
+ num_output_temporal_dims: 2
164
+ output_dim: null
165
+ fsq_level_list: 32
166
+ max_num_tokens: 2
167
+ num_fsq_levels: 32
168
+ num_future_frames: 10
169
+ proprioception_features:
170
+ - actor_obs
171
+ quantizer:
172
+ _target_: vector_quantize_pytorch.FSQ
173
+ reencode_a3_fast_g1_recon: false
174
+ reencode_smpl_g1_recon: false
175
+ rollout_decoders:
176
+ - g1_dyn
177
+ rollout_encoder_exclusions:
178
+ g1:
179
+ - a3_fast
180
+ has_aux_loss: true
181
+ input_obs_dict: true
182
+ running_mean_std: false
183
+ skip_rollout_attnmask_for_history_one: true
184
+ actor_learning_rate: 2.0e-05
185
+ adaptive_empty_cache_cooldown_ppo_epochs: 5
186
+ adaptive_empty_cache_enabled: true
187
+ adaptive_empty_cache_free_frac: 0.1
188
+ adaptive_empty_cache_min_reclaimable_mb: 1024
189
+ adaptive_empty_cache_reserved_frac: 0.9
190
+ adaptive_lr_max: 0.0002
191
+ adaptive_lr_min: 1.0e-05
192
+ benchmark_synchronized_timing: false
193
+ clip_param: 0.2
194
+ compute_aux_loss: true
195
+ cpu_reduce_b_contiguous_result: true
196
+ cpu_reduce_b_lossless_lib: null
197
+ cpu_reduce_b_mode: shm_lossless_exchange
198
+ cpu_reduce_b_native_lib: null
199
+ cpu_reduce_b_numa_first_touch: true
200
+ cpu_reduce_b_result_replicas: 2
201
+ critic:
202
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Critic
203
+ backbone:
204
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
205
+ module_config_dict:
206
+ input_dim:
207
+ - critic_obs
208
+ layer_config:
209
+ activation: SiLU
210
+ hidden_dims:
211
+ - 2048
212
+ - 2048
213
+ - 1024
214
+ - 1024
215
+ - 512
216
+ - 512
217
+ type: MLP
218
+ output_dim:
219
+ - 1
220
+ type: MLP
221
+ process_output_dim: true
222
+ running_mean_std: true
223
+ critic_learning_rate: 0.001
224
+ ddp_bucket_cap_mb: 25
225
+ desired_kl: 0.01
226
+ empty_cache_every_n_ppo_epoch: -1
227
+ enable_loss_finite_diagnostics: false
228
+ entropy_coef: 0.01
229
+ eval:
230
+ num_eval_episodes: 150
231
+ num_save_episodes: 200
232
+ save_goal_reached_only: true
233
+ save_trajectories: false
234
+ save_videos: false
235
+ video_save_prob: 1.0
236
+ eval_frequency: 500
237
+ gamma: 0.99
238
+ global_rank: 0
239
+ init_at_random_ep_len: true
240
+ init_noise_std: 0.05
241
+ lam: 0.95
242
+ load_optimizer: true
243
+ max_grad_norm: 0.1
244
+ num_learning_epochs: 5
245
+ num_learning_iterations: 200000
246
+ num_mini_batches: 4
247
+ num_steps_per_env: 24
248
+ ppo_shuffle_every_epoch: true
249
+ resume_motion_sampler_state: true
250
+ resume_optimizer_lr_from_state: true
251
+ sample_actions_in_policy_update: false
252
+ save_interval: 500
253
+ schedule: adaptive
254
+ std_clamp_max: 0.5
255
+ std_clamp_min: 0.001
256
+ strict_checkpoint_model_state: true
257
+ sync_advantage_normalization: true
258
+ tensorboard_flush_every_n_steps: 10
259
+ use_clampped_std: true
260
+ use_clipped_value_loss: true
261
+ use_fp16_ddp_comm_hook: false
262
+ use_new_actor_critic: true
263
+ use_padding_mask: false
264
+ value_loss_coef: 1.0
265
+ world_size: 32
266
+ env_config:
267
+ action_clip_value: 20.0
268
+ action_transform_module_cfg: null
269
+ action_transform_module_checkpoint: null
270
+ adaptive_sampling_log_every_n_steps: 24
271
+ decimation: 4
272
+ env_spacing: 2.0
273
+ episode_length_s: 10.0
274
+ eval_camera_offset:
275
+ - 4.0
276
+ - 4.0
277
+ - 1.8
278
+ experiment_dir: !!python/object/apply:pathlib.PosixPath
279
+ - /
280
+ - home
281
+ - agiuser
282
+ - code
283
+ - sonic_for_a3
284
+ - checkpoints
285
+ - 089_step136000
286
+ headless: true
287
+ meta_action_dim: null
288
+ needs_policy_atm: true
289
+ num_envs: 1
290
+ object_mass: null
291
+ obs:
292
+ group_obs_dims:
293
+ tokenizer:
294
+ command_multi_future_a3_fast_nonflat:
295
+ - 10
296
+ - 58
297
+ command_multi_future_lower_body:
298
+ - 240
299
+ command_multi_future_nonflat:
300
+ - 10
301
+ - 58
302
+ command_z:
303
+ - 1
304
+ command_z_multi_future_nonflat:
305
+ - 10
306
+ - 1
307
+ encoder_index:
308
+ - 4
309
+ joint_pos_multi_future_wrist_for_smpl:
310
+ - 10
311
+ - 6
312
+ motion_anchor_ori_a3_fast_b_mf_nonflat:
313
+ - 10
314
+ - 6
315
+ motion_anchor_ori_b:
316
+ - 6
317
+ motion_anchor_ori_b_mf_nonflat:
318
+ - 10
319
+ - 6
320
+ smpl_joints_multi_future_local_nonflat:
321
+ - 10
322
+ - 72
323
+ smpl_root_ori_b_multi_future:
324
+ - 10
325
+ - 6
326
+ vr_3point_local_orn_target:
327
+ - 12
328
+ vr_3point_local_target:
329
+ - 9
330
+ group_obs_names:
331
+ tokenizer:
332
+ - encoder_index
333
+ - command_multi_future_nonflat
334
+ - command_multi_future_a3_fast_nonflat
335
+ - command_z_multi_future_nonflat
336
+ - command_z
337
+ - motion_anchor_ori_b
338
+ - motion_anchor_ori_b_mf_nonflat
339
+ - motion_anchor_ori_a3_fast_b_mf_nonflat
340
+ - command_multi_future_lower_body
341
+ - vr_3point_local_target
342
+ - vr_3point_local_orn_target
343
+ - smpl_joints_multi_future_local_nonflat
344
+ - smpl_root_ori_b_multi_future
345
+ - joint_pos_multi_future_wrist_for_smpl
346
+ obs_dict: {}
347
+ obs_dims:
348
+ actor_obs: 930
349
+ critic_obs: 1645
350
+ tokenizer: 2402
351
+ render_results: false
352
+ rewards:
353
+ num_critics: 1
354
+ robot:
355
+ actions_dim: 29
356
+ actuator_delay:
357
+ enabled: true
358
+ max_delay: 2
359
+ min_delay: 0
360
+ algo_obs_dim_dict:
361
+ actor_obs: 930
362
+ critic_obs: 1645
363
+ tokenizer: 2402
364
+ asset_path: gear_sonic/data/assets/robot_description/urdf/a3/a3_089_rigid_foot.urdf
365
+ disable_passive_foot: true
366
+ dynamic_ankle:
367
+ enabled: true
368
+ jacobian_table_dir: null
369
+ mode: nominal
370
+ motor_armature: 0.0120833687062
371
+ shared_action_delay: true
372
+ enable_self_collisions: true
373
+ enable_self_contact_reward_sensors: true
374
+ self_collision_review_manifest: gear_sonic/config/collision/a3_089_rigid_foot_pairs.json
375
+ self_contact_every_step_fast_path: true
376
+ type: a3_exp023
377
+ use_fitted_passive_foot_gains: false
378
+ save_rendering_dir: renderings_training
379
+ sim_dt: 0.005
380
+ store_env_actions_in_extras: false
381
+ table_offset: null
382
+ terrain_compliant_contact_damping: 650.0
383
+ terrain_compliant_contact_stiffness: 69050.0
384
+ terrain_type: trimesh
385
+ train_only_events:
386
+ - push_robot
387
+ - compliance_force_push
388
+ viewer_eye:
389
+ - 4.5
390
+ - 0.0
391
+ - 6.0
392
+ viewer_lookat:
393
+ - 0.0
394
+ - 0.0
395
+ - 2.0
089_step136000/model_step_136000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9bc7ea2a7937c9cf277f314fde54b56d1185b0e22ca986994945733b6198385
3
+ size 402050867
089_step136000/onnx/model_step_136000_a3_fast.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7225c52ecc8ca8866f2b0ec58d938806fe6479fc07f7df9e88d2e310bcefa5bc
3
+ size 58138265
089_step136000/onnx/model_step_136000_decoder.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59ffdae4b207c874cadc5656083a9fe5210d409cf5394ed650324c960db42203
3
+ size 40955884
089_step136000/onnx/model_step_136000_encoder.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d08b76064ba6f79738f2c73fb0966de32a7c1259fcc266a54b7ab4e3f147c589
3
+ size 34535178
089_step136000/onnx/model_step_136000_g1.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9006131bab66eb63f4d3502ad38ddae32e794b5b76d743061a2fea5cfe62530a
3
+ size 58137890
089_step136000/rknn/model_step_136000_a3_fast.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbc990cf417437c4ded7c066f55500bea091028af5f476bf7ca9860d5fd379bb
3
+ size 31101485
089_step136000/rknn/model_step_136000_a3_fast.rknn.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "label": "model_step_136000_a3_fast",
3
+ "target_platform": "rk3588",
4
+ "do_quantization": false,
5
+ "source_onnx": "onnx/model_step_136000_a3_fast.onnx",
6
+ "source_onnx_sha256": "7225c52ecc8ca8866f2b0ec58d938806fe6479fc07f7df9e88d2e310bcefa5bc",
7
+ "rknn": "rknn/model_step_136000_a3_fast.rknn",
8
+ "rknn_sha256": "bbc990cf417437c4ded7c066f55500bea091028af5f476bf7ca9860d5fd379bb",
9
+ "schema": {
10
+ "input_name": "obs_dict",
11
+ "input_shape": [
12
+ 1,
13
+ 1570
14
+ ],
15
+ "output_name": "action",
16
+ "output_shape": [
17
+ 1,
18
+ 29
19
+ ],
20
+ "opset": [
21
+ {
22
+ "domain": "ai.onnx",
23
+ "version": 13
24
+ }
25
+ ],
26
+ "ir_version": 7
27
+ }
28
+ }
089_step136000/rknn/model_step_136000_g1.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef220b56aabe85c73976a509ad6bb9f397bfc3bea93862ba97152830d73b3552
3
+ size 31101293
089_step136000/rknn/model_step_136000_g1.rknn.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "label": "model_step_136000_g1",
3
+ "target_platform": "rk3588",
4
+ "do_quantization": false,
5
+ "source_onnx": "onnx/model_step_136000_g1.onnx",
6
+ "source_onnx_sha256": "9006131bab66eb63f4d3502ad38ddae32e794b5b76d743061a2fea5cfe62530a",
7
+ "rknn": "rknn/model_step_136000_g1.rknn",
8
+ "rknn_sha256": "ef220b56aabe85c73976a509ad6bb9f397bfc3bea93862ba97152830d73b3552",
9
+ "schema": {
10
+ "input_name": "obs_dict",
11
+ "input_shape": [
12
+ 1,
13
+ 1570
14
+ ],
15
+ "output_name": "action",
16
+ "output_shape": [
17
+ 1,
18
+ 29
19
+ ],
20
+ "opset": [
21
+ {
22
+ "domain": "ai.onnx",
23
+ "version": 13
24
+ }
25
+ ],
26
+ "ir_version": 7
27
+ }
28
+ }
README.md CHANGED
@@ -7,11 +7,11 @@ tags:
7
  ---
8
  # SONIC for A3
9
 
10
- This repository hosts the [035 / 200k weights](035_step200000/) and a separate [Rockchip build sysroot](rockchip_sysroot/).
11
 
12
  Built on [GR00T-WholeBodyControl / SONIC](https://nvlabs.github.io/GR00T-WholeBodyControl/). Thanks to the GEAR team for their amazing and solid work, comprehensive open-source release and thorough documentation.
13
 
14
- The **035 step-200,000 weights (PT, ONNX and RKNN) and accompanying release configurations** are licensed under the [Apache License 2.0](LICENSE). Third-party software in the sysroot retains its own license terms.
15
 
16
  Real-robot motions can fail or cause falls. Validate in MuJoCo first, retain a safety harness / gantry on hardware, and protect all people nearby.
17
 
 
7
  ---
8
  # SONIC for A3
9
 
10
+ This repository hosts the [035 / 200k weights](035_step200000/), [089 / 136k weights](089_step136000/) and a separate [Rockchip build sysroot](rockchip_sysroot/).
11
 
12
  Built on [GR00T-WholeBodyControl / SONIC](https://nvlabs.github.io/GR00T-WholeBodyControl/). Thanks to the GEAR team for their amazing and solid work, comprehensive open-source release and thorough documentation.
13
 
14
+ The **035 step-200,000 and 089 step-136,000 weights (PT, ONNX and RKNN) and accompanying release configurations** are licensed under the [Apache License 2.0](LICENSE). Third-party software in the sysroot retains its own license terms.
15
 
16
  Real-robot motions can fail or cause falls. Validate in MuJoCo first, retain a safety harness / gantry on hardware, and protect all people nearby.
17