Add files using upload-large-folder tool
Browse files- LICENSE +27 -0
- LICENSES/AI4Animation_CC-BY-NC-4.0.txt +408 -0
- LICENSES/VHDC_CC-BY-SA-4.0.txt +428 -0
- LICENSES/cassi_BSD-3-Clause.txt +30 -0
- README.md +176 -0
- data/ai4_dog_canter/config.json +243 -0
- data/ai4_dog_pace/clip.json +14 -0
- data/ai4_dog_pace/config.json +243 -0
- data/ai4_dog_run_04/clip.json +14 -0
- data/ai4_dog_run_04/config.json +243 -0
- data/ai4_dog_synth_circle_walk/clip.json +15 -0
- data/ai4_dog_synth_circle_walk/config.json +246 -0
- data/ai4_dog_synth_ellipse_walk/clip.json +15 -0
- data/ai4_dog_synth_ellipse_walk/config.json +246 -0
- data/ai4_dog_synth_wide_strafe/clip.json +15 -0
- data/ai4_dog_synth_wide_strafe/config.json +246 -0
- data/ai4_dog_trot_00/clip.json +14 -0
- data/ai4_dog_trot_00/config.json +243 -0
- data/ai4_dog_trot_01/clip.json +14 -0
- data/ai4_dog_trot_01/config.json +243 -0
- data/ai4_dog_walk_00/clip.json +14 -0
- data/ai4_dog_walk_00/config.json +243 -0
- data/ai4_dog_walk_01/clip.json +14 -0
- data/ai4_dog_walk_01/config.json +243 -0
- data/ai4_dog_walk_06/clip.json +14 -0
- data/ai4_dog_walk_06/config.json +243 -0
- data/solo8_crawl_fast/clip.json +15 -0
- data/solo8_crawl_fast/config.json +243 -0
- data/solo8_crawl_slow/clip.json +15 -0
- data/solo8_crawl_slow/config.json +242 -0
- data/solo8_jump_forward_a/clip.json +14 -0
- data/solo8_jump_forward_a/config.json +243 -0
- data/vhdc_horse1_s1_trot_03/clip.json +14 -0
- data/vhdc_horse1_s1_trot_03/config.json +243 -0
- data/vhdc_horse1_s1_walk_02/clip.json +14 -0
- data/vhdc_horse1_s1_walk_02/config.json +243 -0
- data/vhdc_horse1_s2_trot_01/clip.json +14 -0
- data/vhdc_horse1_s2_trot_01/config.json +243 -0
- data/vhdc_horse1_s2_trot_02/clip.json +14 -0
- data/vhdc_horse1_s2_trot_02/config.json +243 -0
- data/vhdc_horse1_s2_trot_03/clip.json +14 -0
- data/vhdc_horse1_s2_trot_03/config.json +243 -0
- data/vhdc_horse1_s2_walk_02/clip.json +14 -0
- data/vhdc_horse1_s2_walk_02/config.json +243 -0
- data/vhdc_horse1_s2_walk_03/clip.json +14 -0
- metadata.json +187 -0
- scripts/__pycache__/load_clip.cpython-312.pyc +0 -0
- scripts/load_clip.py +162 -0
- scripts/verify_schema.py +194 -0
LICENSE
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Kine2Go is a multi-license dataset. There is no single umbrella license; each
|
| 2 |
+
clip ships under the license inherited from its upstream source. The
|
| 3 |
+
authoritative per-clip license is recorded in `<clip_name>/clip.json` under the
|
| 4 |
+
`license` field, and aggregate per-subset assignments are summarised below.
|
| 5 |
+
|
| 6 |
+
| Subset (clip prefix) | Clips | License | Full text |
|
| 7 |
+
| ---------------------------------------------- | ----- | -------------- | ---------------------------------------- |
|
| 8 |
+
| ai4_dog_* (excluding ai4_dog_synth_*) | 15 | CC BY-NC 4.0 | LICENSES/AI4Animation_CC-BY-NC-4.0.txt |
|
| 9 |
+
| ai4_dog_synth_* | 7 | CC BY-NC 4.0 | LICENSES/AI4Animation_CC-BY-NC-4.0.txt |
|
| 10 |
+
| vhdc_horse1_* | 12 | CC BY-SA 4.0 | LICENSES/VHDC_CC-BY-SA-4.0.txt |
|
| 11 |
+
| solo8_* | 6 | BSD-3-Clause | LICENSES/cassi_BSD-3-Clause.txt |
|
| 12 |
+
|
| 13 |
+
Notes:
|
| 14 |
+
|
| 15 |
+
- The CC BY-NC 4.0 subsets prohibit commercial use of the data and any
|
| 16 |
+
derivative works.
|
| 17 |
+
- The VHDC subset is licensed under CC BY-SA 4.0 (upgraded from the upstream's
|
| 18 |
+
CC BY-SA 3.0 Unported per the SA-4.0 compatibility clause). Derivatives must
|
| 19 |
+
be released under CC BY-SA 4.0 (or a later compatible version).
|
| 20 |
+
- The cassi/Solo8 subset license is inherited by analogy with cassi's top-level
|
| 21 |
+
code grant; see LICENSES/cassi_BSD-3-Clause.txt for the binding text.
|
| 22 |
+
|
| 23 |
+
The supporting documentation in this repository -- README.md, metadata.json,
|
| 24 |
+
clip.json files, and the helper scripts under scripts/ -- are released under
|
| 25 |
+
the most permissive license compatible with all subsets above (CC BY 4.0 for
|
| 26 |
+
text, MIT for the helper scripts), unless stated otherwise in the respective
|
| 27 |
+
file.
|
LICENSES/AI4Animation_CC-BY-NC-4.0.txt
ADDED
|
@@ -0,0 +1,408 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Attribution-NonCommercial 4.0 International
|
| 2 |
+
|
| 3 |
+
=======================================================================
|
| 4 |
+
|
| 5 |
+
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
| 6 |
+
does not provide legal services or legal advice. Distribution of
|
| 7 |
+
Creative Commons public licenses does not create a lawyer-client or
|
| 8 |
+
other relationship. Creative Commons makes its licenses and related
|
| 9 |
+
information available on an "as-is" basis. Creative Commons gives no
|
| 10 |
+
warranties regarding its licenses, any material licensed under their
|
| 11 |
+
terms and conditions, or any related information. Creative Commons
|
| 12 |
+
disclaims all liability for damages resulting from their use to the
|
| 13 |
+
fullest extent possible.
|
| 14 |
+
|
| 15 |
+
Using Creative Commons Public Licenses
|
| 16 |
+
|
| 17 |
+
Creative Commons public licenses provide a standard set of terms and
|
| 18 |
+
conditions that creators and other rights holders may use to share
|
| 19 |
+
original works of authorship and other material subject to copyright
|
| 20 |
+
and certain other rights specified in the public license below. The
|
| 21 |
+
following considerations are for informational purposes only, are not
|
| 22 |
+
exhaustive, and do not form part of our licenses.
|
| 23 |
+
|
| 24 |
+
Considerations for licensors: Our public licenses are
|
| 25 |
+
intended for use by those authorized to give the public
|
| 26 |
+
permission to use material in ways otherwise restricted by
|
| 27 |
+
copyright and certain other rights. Our licenses are
|
| 28 |
+
irrevocable. Licensors should read and understand the terms
|
| 29 |
+
and conditions of the license they choose before applying it.
|
| 30 |
+
Licensors should also secure all rights necessary before
|
| 31 |
+
applying our licenses so that the public can reuse the
|
| 32 |
+
material as expected. Licensors should clearly mark any
|
| 33 |
+
material not subject to the license. This includes other CC-
|
| 34 |
+
licensed material, or material used under an exception or
|
| 35 |
+
limitation to copyright. More considerations for licensors:
|
| 36 |
+
wiki.creativecommons.org/Considerations_for_licensors
|
| 37 |
+
|
| 38 |
+
Considerations for the public: By using one of our public
|
| 39 |
+
licenses, a licensor grants the public permission to use the
|
| 40 |
+
licensed material under specified terms and conditions. If
|
| 41 |
+
the licensor's permission is not necessary for any reason--for
|
| 42 |
+
example, because of any applicable exception or limitation to
|
| 43 |
+
copyright--then that use is not regulated by the license. Our
|
| 44 |
+
licenses grant only permissions under copyright and certain
|
| 45 |
+
other rights that a licensor has authority to grant. Use of
|
| 46 |
+
the licensed material may still be restricted for other
|
| 47 |
+
reasons, including because others have copyright or other
|
| 48 |
+
rights in the material. A licensor may make special requests,
|
| 49 |
+
such as asking that all changes be marked or described.
|
| 50 |
+
Although not required by our licenses, you are encouraged to
|
| 51 |
+
respect those requests where reasonable. More considerations
|
| 52 |
+
for the public:
|
| 53 |
+
wiki.creativecommons.org/Considerations_for_licensees
|
| 54 |
+
|
| 55 |
+
=======================================================================
|
| 56 |
+
|
| 57 |
+
Creative Commons Attribution-NonCommercial 4.0 International Public
|
| 58 |
+
License
|
| 59 |
+
|
| 60 |
+
By exercising the Licensed Rights (defined below), You accept and agree
|
| 61 |
+
to be bound by the terms and conditions of this Creative Commons
|
| 62 |
+
Attribution-NonCommercial 4.0 International Public License ("Public
|
| 63 |
+
License"). To the extent this Public License may be interpreted as a
|
| 64 |
+
contract, You are granted the Licensed Rights in consideration of Your
|
| 65 |
+
acceptance of these terms and conditions, and the Licensor grants You
|
| 66 |
+
such rights in consideration of benefits the Licensor receives from
|
| 67 |
+
making the Licensed Material available under these terms and
|
| 68 |
+
conditions.
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
Section 1 -- Definitions.
|
| 72 |
+
|
| 73 |
+
a. Adapted Material means material subject to Copyright and Similar
|
| 74 |
+
Rights that is derived from or based upon the Licensed Material
|
| 75 |
+
and in which the Licensed Material is translated, altered,
|
| 76 |
+
arranged, transformed, or otherwise modified in a manner requiring
|
| 77 |
+
permission under the Copyright and Similar Rights held by the
|
| 78 |
+
Licensor. For purposes of this Public License, where the Licensed
|
| 79 |
+
Material is a musical work, performance, or sound recording,
|
| 80 |
+
Adapted Material is always produced where the Licensed Material is
|
| 81 |
+
synched in timed relation with a moving image.
|
| 82 |
+
|
| 83 |
+
b. Adapter's License means the license You apply to Your Copyright
|
| 84 |
+
and Similar Rights in Your contributions to Adapted Material in
|
| 85 |
+
accordance with the terms and conditions of this Public License.
|
| 86 |
+
|
| 87 |
+
c. Copyright and Similar Rights means copyright and/or similar rights
|
| 88 |
+
closely related to copyright including, without limitation,
|
| 89 |
+
performance, broadcast, sound recording, and Sui Generis Database
|
| 90 |
+
Rights, without regard to how the rights are labeled or
|
| 91 |
+
categorized. For purposes of this Public License, the rights
|
| 92 |
+
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
| 93 |
+
Rights.
|
| 94 |
+
d. Effective Technological Measures means those measures that, in the
|
| 95 |
+
absence of proper authority, may not be circumvented under laws
|
| 96 |
+
fulfilling obligations under Article 11 of the WIPO Copyright
|
| 97 |
+
Treaty adopted on December 20, 1996, and/or similar international
|
| 98 |
+
agreements.
|
| 99 |
+
|
| 100 |
+
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
| 101 |
+
any other exception or limitation to Copyright and Similar Rights
|
| 102 |
+
that applies to Your use of the Licensed Material.
|
| 103 |
+
|
| 104 |
+
f. Licensed Material means the artistic or literary work, database,
|
| 105 |
+
or other material to which the Licensor applied this Public
|
| 106 |
+
License.
|
| 107 |
+
|
| 108 |
+
g. Licensed Rights means the rights granted to You subject to the
|
| 109 |
+
terms and conditions of this Public License, which are limited to
|
| 110 |
+
all Copyright and Similar Rights that apply to Your use of the
|
| 111 |
+
Licensed Material and that the Licensor has authority to license.
|
| 112 |
+
|
| 113 |
+
h. Licensor means the individual(s) or entity(ies) granting rights
|
| 114 |
+
under this Public License.
|
| 115 |
+
|
| 116 |
+
i. NonCommercial means not primarily intended for or directed towards
|
| 117 |
+
commercial advantage or monetary compensation. For purposes of
|
| 118 |
+
this Public License, the exchange of the Licensed Material for
|
| 119 |
+
other material subject to Copyright and Similar Rights by digital
|
| 120 |
+
file-sharing or similar means is NonCommercial provided there is
|
| 121 |
+
no payment of monetary compensation in connection with the
|
| 122 |
+
exchange.
|
| 123 |
+
|
| 124 |
+
j. Share means to provide material to the public by any means or
|
| 125 |
+
process that requires permission under the Licensed Rights, such
|
| 126 |
+
as reproduction, public display, public performance, distribution,
|
| 127 |
+
dissemination, communication, or importation, and to make material
|
| 128 |
+
available to the public including in ways that members of the
|
| 129 |
+
public may access the material from a place and at a time
|
| 130 |
+
individually chosen by them.
|
| 131 |
+
|
| 132 |
+
k. Sui Generis Database Rights means rights other than copyright
|
| 133 |
+
resulting from Directive 96/9/EC of the European Parliament and of
|
| 134 |
+
the Council of 11 March 1996 on the legal protection of databases,
|
| 135 |
+
as amended and/or succeeded, as well as other essentially
|
| 136 |
+
equivalent rights anywhere in the world.
|
| 137 |
+
|
| 138 |
+
l. You means the individual or entity exercising the Licensed Rights
|
| 139 |
+
under this Public License. Your has a corresponding meaning.
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
Section 2 -- Scope.
|
| 143 |
+
|
| 144 |
+
a. License grant.
|
| 145 |
+
|
| 146 |
+
1. Subject to the terms and conditions of this Public License,
|
| 147 |
+
the Licensor hereby grants You a worldwide, royalty-free,
|
| 148 |
+
non-sublicensable, non-exclusive, irrevocable license to
|
| 149 |
+
exercise the Licensed Rights in the Licensed Material to:
|
| 150 |
+
|
| 151 |
+
a. reproduce and Share the Licensed Material, in whole or
|
| 152 |
+
in part, for NonCommercial purposes only; and
|
| 153 |
+
|
| 154 |
+
b. produce, reproduce, and Share Adapted Material for
|
| 155 |
+
NonCommercial purposes only.
|
| 156 |
+
|
| 157 |
+
2. Exceptions and Limitations. For the avoidance of doubt, where
|
| 158 |
+
Exceptions and Limitations apply to Your use, this Public
|
| 159 |
+
License does not apply, and You do not need to comply with
|
| 160 |
+
its terms and conditions.
|
| 161 |
+
|
| 162 |
+
3. Term. The term of this Public License is specified in Section
|
| 163 |
+
6(a).
|
| 164 |
+
|
| 165 |
+
4. Media and formats; technical modifications allowed. The
|
| 166 |
+
Licensor authorizes You to exercise the Licensed Rights in
|
| 167 |
+
all media and formats whether now known or hereafter created,
|
| 168 |
+
and to make technical modifications necessary to do so. The
|
| 169 |
+
Licensor waives and/or agrees not to assert any right or
|
| 170 |
+
authority to forbid You from making technical modifications
|
| 171 |
+
necessary to exercise the Licensed Rights, including
|
| 172 |
+
technical modifications necessary to circumvent Effective
|
| 173 |
+
Technological Measures. For purposes of this Public License,
|
| 174 |
+
simply making modifications authorized by this Section 2(a)
|
| 175 |
+
(4) never produces Adapted Material.
|
| 176 |
+
|
| 177 |
+
5. Downstream recipients.
|
| 178 |
+
|
| 179 |
+
a. Offer from the Licensor -- Licensed Material. Every
|
| 180 |
+
recipient of the Licensed Material automatically
|
| 181 |
+
receives an offer from the Licensor to exercise the
|
| 182 |
+
Licensed Rights under the terms and conditions of this
|
| 183 |
+
Public License.
|
| 184 |
+
|
| 185 |
+
b. No downstream restrictions. You may not offer or impose
|
| 186 |
+
any additional or different terms or conditions on, or
|
| 187 |
+
apply any Effective Technological Measures to, the
|
| 188 |
+
Licensed Material if doing so restricts exercise of the
|
| 189 |
+
Licensed Rights by any recipient of the Licensed
|
| 190 |
+
Material.
|
| 191 |
+
|
| 192 |
+
6. No endorsement. Nothing in this Public License constitutes or
|
| 193 |
+
may be construed as permission to assert or imply that You
|
| 194 |
+
are, or that Your use of the Licensed Material is, connected
|
| 195 |
+
with, or sponsored, endorsed, or granted official status by,
|
| 196 |
+
the Licensor or others designated to receive attribution as
|
| 197 |
+
provided in Section 3(a)(1)(A)(i).
|
| 198 |
+
|
| 199 |
+
b. Other rights.
|
| 200 |
+
|
| 201 |
+
1. Moral rights, such as the right of integrity, are not
|
| 202 |
+
licensed under this Public License, nor are publicity,
|
| 203 |
+
privacy, and/or other similar personality rights; however, to
|
| 204 |
+
the extent possible, the Licensor waives and/or agrees not to
|
| 205 |
+
assert any such rights held by the Licensor to the limited
|
| 206 |
+
extent necessary to allow You to exercise the Licensed
|
| 207 |
+
Rights, but not otherwise.
|
| 208 |
+
|
| 209 |
+
2. Patent and trademark rights are not licensed under this
|
| 210 |
+
Public License.
|
| 211 |
+
|
| 212 |
+
3. To the extent possible, the Licensor waives any right to
|
| 213 |
+
collect royalties from You for the exercise of the Licensed
|
| 214 |
+
Rights, whether directly or through a collecting society
|
| 215 |
+
under any voluntary or waivable statutory or compulsory
|
| 216 |
+
licensing scheme. In all other cases the Licensor expressly
|
| 217 |
+
reserves any right to collect such royalties, including when
|
| 218 |
+
the Licensed Material is used other than for NonCommercial
|
| 219 |
+
purposes.
|
| 220 |
+
|
| 221 |
+
|
| 222 |
+
Section 3 -- License Conditions.
|
| 223 |
+
|
| 224 |
+
Your exercise of the Licensed Rights is expressly made subject to the
|
| 225 |
+
following conditions.
|
| 226 |
+
|
| 227 |
+
a. Attribution.
|
| 228 |
+
|
| 229 |
+
1. If You Share the Licensed Material (including in modified
|
| 230 |
+
form), You must:
|
| 231 |
+
|
| 232 |
+
a. retain the following if it is supplied by the Licensor
|
| 233 |
+
with the Licensed Material:
|
| 234 |
+
|
| 235 |
+
i. identification of the creator(s) of the Licensed
|
| 236 |
+
Material and any others designated to receive
|
| 237 |
+
attribution, in any reasonable manner requested by
|
| 238 |
+
the Licensor (including by pseudonym if
|
| 239 |
+
designated);
|
| 240 |
+
|
| 241 |
+
ii. a copyright notice;
|
| 242 |
+
|
| 243 |
+
iii. a notice that refers to this Public License;
|
| 244 |
+
|
| 245 |
+
iv. a notice that refers to the disclaimer of
|
| 246 |
+
warranties;
|
| 247 |
+
|
| 248 |
+
v. a URI or hyperlink to the Licensed Material to the
|
| 249 |
+
extent reasonably practicable;
|
| 250 |
+
|
| 251 |
+
b. indicate if You modified the Licensed Material and
|
| 252 |
+
retain an indication of any previous modifications; and
|
| 253 |
+
|
| 254 |
+
c. indicate the Licensed Material is licensed under this
|
| 255 |
+
Public License, and include the text of, or the URI or
|
| 256 |
+
hyperlink to, this Public License.
|
| 257 |
+
|
| 258 |
+
2. You may satisfy the conditions in Section 3(a)(1) in any
|
| 259 |
+
reasonable manner based on the medium, means, and context in
|
| 260 |
+
which You Share the Licensed Material. For example, it may be
|
| 261 |
+
reasonable to satisfy the conditions by providing a URI or
|
| 262 |
+
hyperlink to a resource that includes the required
|
| 263 |
+
information.
|
| 264 |
+
|
| 265 |
+
3. If requested by the Licensor, You must remove any of the
|
| 266 |
+
information required by Section 3(a)(1)(A) to the extent
|
| 267 |
+
reasonably practicable.
|
| 268 |
+
|
| 269 |
+
4. If You Share Adapted Material You produce, the Adapter's
|
| 270 |
+
License You apply must not prevent recipients of the Adapted
|
| 271 |
+
Material from complying with this Public License.
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
Section 4 -- Sui Generis Database Rights.
|
| 275 |
+
|
| 276 |
+
Where the Licensed Rights include Sui Generis Database Rights that
|
| 277 |
+
apply to Your use of the Licensed Material:
|
| 278 |
+
|
| 279 |
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
| 280 |
+
to extract, reuse, reproduce, and Share all or a substantial
|
| 281 |
+
portion of the contents of the database for NonCommercial purposes
|
| 282 |
+
only;
|
| 283 |
+
|
| 284 |
+
b. if You include all or a substantial portion of the database
|
| 285 |
+
contents in a database in which You have Sui Generis Database
|
| 286 |
+
Rights, then the database in which You have Sui Generis Database
|
| 287 |
+
Rights (but not its individual contents) is Adapted Material; and
|
| 288 |
+
|
| 289 |
+
c. You must comply with the conditions in Section 3(a) if You Share
|
| 290 |
+
all or a substantial portion of the contents of the database.
|
| 291 |
+
|
| 292 |
+
For the avoidance of doubt, this Section 4 supplements and does not
|
| 293 |
+
replace Your obligations under this Public License where the Licensed
|
| 294 |
+
Rights include other Copyright and Similar Rights.
|
| 295 |
+
|
| 296 |
+
|
| 297 |
+
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
| 298 |
+
|
| 299 |
+
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
| 300 |
+
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
| 301 |
+
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
| 302 |
+
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
| 303 |
+
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
| 304 |
+
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
| 305 |
+
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
| 306 |
+
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
| 307 |
+
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
| 308 |
+
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
| 309 |
+
|
| 310 |
+
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
| 311 |
+
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
| 312 |
+
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
| 313 |
+
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
| 314 |
+
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
| 315 |
+
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
| 316 |
+
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
| 317 |
+
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
| 318 |
+
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
| 319 |
+
|
| 320 |
+
c. The disclaimer of warranties and limitation of liability provided
|
| 321 |
+
above shall be interpreted in a manner that, to the extent
|
| 322 |
+
possible, most closely approximates an absolute disclaimer and
|
| 323 |
+
waiver of all liability.
|
| 324 |
+
|
| 325 |
+
|
| 326 |
+
Section 6 -- Term and Termination.
|
| 327 |
+
|
| 328 |
+
a. This Public License applies for the term of the Copyright and
|
| 329 |
+
Similar Rights licensed here. However, if You fail to comply with
|
| 330 |
+
this Public License, then Your rights under this Public License
|
| 331 |
+
terminate automatically.
|
| 332 |
+
|
| 333 |
+
b. Where Your right to use the Licensed Material has terminated under
|
| 334 |
+
Section 6(a), it reinstates:
|
| 335 |
+
|
| 336 |
+
1. automatically as of the date the violation is cured, provided
|
| 337 |
+
it is cured within 30 days of Your discovery of the
|
| 338 |
+
violation; or
|
| 339 |
+
|
| 340 |
+
2. upon express reinstatement by the Licensor.
|
| 341 |
+
|
| 342 |
+
For the avoidance of doubt, this Section 6(b) does not affect any
|
| 343 |
+
right the Licensor may have to seek remedies for Your violations
|
| 344 |
+
of this Public License.
|
| 345 |
+
|
| 346 |
+
c. For the avoidance of doubt, the Licensor may also offer the
|
| 347 |
+
Licensed Material under separate terms or conditions or stop
|
| 348 |
+
distributing the Licensed Material at any time; however, doing so
|
| 349 |
+
will not terminate this Public License.
|
| 350 |
+
|
| 351 |
+
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
| 352 |
+
License.
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
Section 7 -- Other Terms and Conditions.
|
| 356 |
+
|
| 357 |
+
a. The Licensor shall not be bound by any additional or different
|
| 358 |
+
terms or conditions communicated by You unless expressly agreed.
|
| 359 |
+
|
| 360 |
+
b. Any arrangements, understandings, or agreements regarding the
|
| 361 |
+
Licensed Material not stated herein are separate from and
|
| 362 |
+
independent of the terms and conditions of this Public License.
|
| 363 |
+
|
| 364 |
+
|
| 365 |
+
Section 8 -- Interpretation.
|
| 366 |
+
|
| 367 |
+
a. For the avoidance of doubt, this Public License does not, and
|
| 368 |
+
shall not be interpreted to, reduce, limit, restrict, or impose
|
| 369 |
+
conditions on any use of the Licensed Material that could lawfully
|
| 370 |
+
be made without permission under this Public License.
|
| 371 |
+
|
| 372 |
+
b. To the extent possible, if any provision of this Public License is
|
| 373 |
+
deemed unenforceable, it shall be automatically reformed to the
|
| 374 |
+
minimum extent necessary to make it enforceable. If the provision
|
| 375 |
+
cannot be reformed, it shall be severed from this Public License
|
| 376 |
+
without affecting the enforceability of the remaining terms and
|
| 377 |
+
conditions.
|
| 378 |
+
|
| 379 |
+
c. No term or condition of this Public License will be waived and no
|
| 380 |
+
failure to comply consented to unless expressly agreed to by the
|
| 381 |
+
Licensor.
|
| 382 |
+
|
| 383 |
+
d. Nothing in this Public License constitutes or may be interpreted
|
| 384 |
+
as a limitation upon, or waiver of, any privileges and immunities
|
| 385 |
+
that apply to the Licensor or You, including from the legal
|
| 386 |
+
processes of any jurisdiction or authority.
|
| 387 |
+
|
| 388 |
+
=======================================================================
|
| 389 |
+
|
| 390 |
+
Creative Commons is not a party to its public
|
| 391 |
+
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
| 392 |
+
its public licenses to material it publishes and in those instances
|
| 393 |
+
will be considered the “Licensor.” The text of the Creative Commons
|
| 394 |
+
public licenses is dedicated to the public domain under the CC0 Public
|
| 395 |
+
Domain Dedication. Except for the limited purpose of indicating that
|
| 396 |
+
material is shared under a Creative Commons public license or as
|
| 397 |
+
otherwise permitted by the Creative Commons policies published at
|
| 398 |
+
creativecommons.org/policies, Creative Commons does not authorize the
|
| 399 |
+
use of the trademark "Creative Commons" or any other trademark or logo
|
| 400 |
+
of Creative Commons without its prior written consent including,
|
| 401 |
+
without limitation, in connection with any unauthorized modifications
|
| 402 |
+
to any of its public licenses or any other arrangements,
|
| 403 |
+
understandings, or agreements concerning use of licensed material. For
|
| 404 |
+
the avoidance of doubt, this paragraph does not form part of the
|
| 405 |
+
public licenses.
|
| 406 |
+
|
| 407 |
+
Creative Commons may be contacted at creativecommons.org.
|
| 408 |
+
|
LICENSES/VHDC_CC-BY-SA-4.0.txt
ADDED
|
@@ -0,0 +1,428 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Attribution-ShareAlike 4.0 International
|
| 2 |
+
|
| 3 |
+
=======================================================================
|
| 4 |
+
|
| 5 |
+
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
| 6 |
+
does not provide legal services or legal advice. Distribution of
|
| 7 |
+
Creative Commons public licenses does not create a lawyer-client or
|
| 8 |
+
other relationship. Creative Commons makes its licenses and related
|
| 9 |
+
information available on an "as-is" basis. Creative Commons gives no
|
| 10 |
+
warranties regarding its licenses, any material licensed under their
|
| 11 |
+
terms and conditions, or any related information. Creative Commons
|
| 12 |
+
disclaims all liability for damages resulting from their use to the
|
| 13 |
+
fullest extent possible.
|
| 14 |
+
|
| 15 |
+
Using Creative Commons Public Licenses
|
| 16 |
+
|
| 17 |
+
Creative Commons public licenses provide a standard set of terms and
|
| 18 |
+
conditions that creators and other rights holders may use to share
|
| 19 |
+
original works of authorship and other material subject to copyright
|
| 20 |
+
and certain other rights specified in the public license below. The
|
| 21 |
+
following considerations are for informational purposes only, are not
|
| 22 |
+
exhaustive, and do not form part of our licenses.
|
| 23 |
+
|
| 24 |
+
Considerations for licensors: Our public licenses are
|
| 25 |
+
intended for use by those authorized to give the public
|
| 26 |
+
permission to use material in ways otherwise restricted by
|
| 27 |
+
copyright and certain other rights. Our licenses are
|
| 28 |
+
irrevocable. Licensors should read and understand the terms
|
| 29 |
+
and conditions of the license they choose before applying it.
|
| 30 |
+
Licensors should also secure all rights necessary before
|
| 31 |
+
applying our licenses so that the public can reuse the
|
| 32 |
+
material as expected. Licensors should clearly mark any
|
| 33 |
+
material not subject to the license. This includes other CC-
|
| 34 |
+
licensed material, or material used under an exception or
|
| 35 |
+
limitation to copyright. More considerations for licensors:
|
| 36 |
+
wiki.creativecommons.org/Considerations_for_licensors
|
| 37 |
+
|
| 38 |
+
Considerations for the public: By using one of our public
|
| 39 |
+
licenses, a licensor grants the public permission to use the
|
| 40 |
+
licensed material under specified terms and conditions. If
|
| 41 |
+
the licensor's permission is not necessary for any reason--for
|
| 42 |
+
example, because of any applicable exception or limitation to
|
| 43 |
+
copyright--then that use is not regulated by the license. Our
|
| 44 |
+
licenses grant only permissions under copyright and certain
|
| 45 |
+
other rights that a licensor has authority to grant. Use of
|
| 46 |
+
the licensed material may still be restricted for other
|
| 47 |
+
reasons, including because others have copyright or other
|
| 48 |
+
rights in the material. A licensor may make special requests,
|
| 49 |
+
such as asking that all changes be marked or described.
|
| 50 |
+
Although not required by our licenses, you are encouraged to
|
| 51 |
+
respect those requests where reasonable. More considerations
|
| 52 |
+
for the public:
|
| 53 |
+
wiki.creativecommons.org/Considerations_for_licensees
|
| 54 |
+
|
| 55 |
+
=======================================================================
|
| 56 |
+
|
| 57 |
+
Creative Commons Attribution-ShareAlike 4.0 International Public
|
| 58 |
+
License
|
| 59 |
+
|
| 60 |
+
By exercising the Licensed Rights (defined below), You accept and agree
|
| 61 |
+
to be bound by the terms and conditions of this Creative Commons
|
| 62 |
+
Attribution-ShareAlike 4.0 International Public License ("Public
|
| 63 |
+
License"). To the extent this Public License may be interpreted as a
|
| 64 |
+
contract, You are granted the Licensed Rights in consideration of Your
|
| 65 |
+
acceptance of these terms and conditions, and the Licensor grants You
|
| 66 |
+
such rights in consideration of benefits the Licensor receives from
|
| 67 |
+
making the Licensed Material available under these terms and
|
| 68 |
+
conditions.
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
Section 1 -- Definitions.
|
| 72 |
+
|
| 73 |
+
a. Adapted Material means material subject to Copyright and Similar
|
| 74 |
+
Rights that is derived from or based upon the Licensed Material
|
| 75 |
+
and in which the Licensed Material is translated, altered,
|
| 76 |
+
arranged, transformed, or otherwise modified in a manner requiring
|
| 77 |
+
permission under the Copyright and Similar Rights held by the
|
| 78 |
+
Licensor. For purposes of this Public License, where the Licensed
|
| 79 |
+
Material is a musical work, performance, or sound recording,
|
| 80 |
+
Adapted Material is always produced where the Licensed Material is
|
| 81 |
+
synched in timed relation with a moving image.
|
| 82 |
+
|
| 83 |
+
b. Adapter's License means the license You apply to Your Copyright
|
| 84 |
+
and Similar Rights in Your contributions to Adapted Material in
|
| 85 |
+
accordance with the terms and conditions of this Public License.
|
| 86 |
+
|
| 87 |
+
c. BY-SA Compatible License means a license listed at
|
| 88 |
+
creativecommons.org/compatiblelicenses, approved by Creative
|
| 89 |
+
Commons as essentially the equivalent of this Public License.
|
| 90 |
+
|
| 91 |
+
d. Copyright and Similar Rights means copyright and/or similar rights
|
| 92 |
+
closely related to copyright including, without limitation,
|
| 93 |
+
performance, broadcast, sound recording, and Sui Generis Database
|
| 94 |
+
Rights, without regard to how the rights are labeled or
|
| 95 |
+
categorized. For purposes of this Public License, the rights
|
| 96 |
+
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
| 97 |
+
Rights.
|
| 98 |
+
|
| 99 |
+
e. Effective Technological Measures means those measures that, in the
|
| 100 |
+
absence of proper authority, may not be circumvented under laws
|
| 101 |
+
fulfilling obligations under Article 11 of the WIPO Copyright
|
| 102 |
+
Treaty adopted on December 20, 1996, and/or similar international
|
| 103 |
+
agreements.
|
| 104 |
+
|
| 105 |
+
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
| 106 |
+
any other exception or limitation to Copyright and Similar Rights
|
| 107 |
+
that applies to Your use of the Licensed Material.
|
| 108 |
+
|
| 109 |
+
g. License Elements means the license attributes listed in the name
|
| 110 |
+
of a Creative Commons Public License. The License Elements of this
|
| 111 |
+
Public License are Attribution and ShareAlike.
|
| 112 |
+
|
| 113 |
+
h. Licensed Material means the artistic or literary work, database,
|
| 114 |
+
or other material to which the Licensor applied this Public
|
| 115 |
+
License.
|
| 116 |
+
|
| 117 |
+
i. Licensed Rights means the rights granted to You subject to the
|
| 118 |
+
terms and conditions of this Public License, which are limited to
|
| 119 |
+
all Copyright and Similar Rights that apply to Your use of the
|
| 120 |
+
Licensed Material and that the Licensor has authority to license.
|
| 121 |
+
|
| 122 |
+
j. Licensor means the individual(s) or entity(ies) granting rights
|
| 123 |
+
under this Public License.
|
| 124 |
+
|
| 125 |
+
k. Share means to provide material to the public by any means or
|
| 126 |
+
process that requires permission under the Licensed Rights, such
|
| 127 |
+
as reproduction, public display, public performance, distribution,
|
| 128 |
+
dissemination, communication, or importation, and to make material
|
| 129 |
+
available to the public including in ways that members of the
|
| 130 |
+
public may access the material from a place and at a time
|
| 131 |
+
individually chosen by them.
|
| 132 |
+
|
| 133 |
+
l. Sui Generis Database Rights means rights other than copyright
|
| 134 |
+
resulting from Directive 96/9/EC of the European Parliament and of
|
| 135 |
+
the Council of 11 March 1996 on the legal protection of databases,
|
| 136 |
+
as amended and/or succeeded, as well as other essentially
|
| 137 |
+
equivalent rights anywhere in the world.
|
| 138 |
+
|
| 139 |
+
m. You means the individual or entity exercising the Licensed Rights
|
| 140 |
+
under this Public License. Your has a corresponding meaning.
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
Section 2 -- Scope.
|
| 144 |
+
|
| 145 |
+
a. License grant.
|
| 146 |
+
|
| 147 |
+
1. Subject to the terms and conditions of this Public License,
|
| 148 |
+
the Licensor hereby grants You a worldwide, royalty-free,
|
| 149 |
+
non-sublicensable, non-exclusive, irrevocable license to
|
| 150 |
+
exercise the Licensed Rights in the Licensed Material to:
|
| 151 |
+
|
| 152 |
+
a. reproduce and Share the Licensed Material, in whole or
|
| 153 |
+
in part; and
|
| 154 |
+
|
| 155 |
+
b. produce, reproduce, and Share Adapted Material.
|
| 156 |
+
|
| 157 |
+
2. Exceptions and Limitations. For the avoidance of doubt, where
|
| 158 |
+
Exceptions and Limitations apply to Your use, this Public
|
| 159 |
+
License does not apply, and You do not need to comply with
|
| 160 |
+
its terms and conditions.
|
| 161 |
+
|
| 162 |
+
3. Term. The term of this Public License is specified in Section
|
| 163 |
+
6(a).
|
| 164 |
+
|
| 165 |
+
4. Media and formats; technical modifications allowed. The
|
| 166 |
+
Licensor authorizes You to exercise the Licensed Rights in
|
| 167 |
+
all media and formats whether now known or hereafter created,
|
| 168 |
+
and to make technical modifications necessary to do so. The
|
| 169 |
+
Licensor waives and/or agrees not to assert any right or
|
| 170 |
+
authority to forbid You from making technical modifications
|
| 171 |
+
necessary to exercise the Licensed Rights, including
|
| 172 |
+
technical modifications necessary to circumvent Effective
|
| 173 |
+
Technological Measures. For purposes of this Public License,
|
| 174 |
+
simply making modifications authorized by this Section 2(a)
|
| 175 |
+
(4) never produces Adapted Material.
|
| 176 |
+
|
| 177 |
+
5. Downstream recipients.
|
| 178 |
+
|
| 179 |
+
a. Offer from the Licensor -- Licensed Material. Every
|
| 180 |
+
recipient of the Licensed Material automatically
|
| 181 |
+
receives an offer from the Licensor to exercise the
|
| 182 |
+
Licensed Rights under the terms and conditions of this
|
| 183 |
+
Public License.
|
| 184 |
+
|
| 185 |
+
b. Additional offer from the Licensor -- Adapted Material.
|
| 186 |
+
Every recipient of Adapted Material from You
|
| 187 |
+
automatically receives an offer from the Licensor to
|
| 188 |
+
exercise the Licensed Rights in the Adapted Material
|
| 189 |
+
under the conditions of the Adapter's License You apply.
|
| 190 |
+
|
| 191 |
+
c. No downstream restrictions. You may not offer or impose
|
| 192 |
+
any additional or different terms or conditions on, or
|
| 193 |
+
apply any Effective Technological Measures to, the
|
| 194 |
+
Licensed Material if doing so restricts exercise of the
|
| 195 |
+
Licensed Rights by any recipient of the Licensed
|
| 196 |
+
Material.
|
| 197 |
+
|
| 198 |
+
6. No endorsement. Nothing in this Public License constitutes or
|
| 199 |
+
may be construed as permission to assert or imply that You
|
| 200 |
+
are, or that Your use of the Licensed Material is, connected
|
| 201 |
+
with, or sponsored, endorsed, or granted official status by,
|
| 202 |
+
the Licensor or others designated to receive attribution as
|
| 203 |
+
provided in Section 3(a)(1)(A)(i).
|
| 204 |
+
|
| 205 |
+
b. Other rights.
|
| 206 |
+
|
| 207 |
+
1. Moral rights, such as the right of integrity, are not
|
| 208 |
+
licensed under this Public License, nor are publicity,
|
| 209 |
+
privacy, and/or other similar personality rights; however, to
|
| 210 |
+
the extent possible, the Licensor waives and/or agrees not to
|
| 211 |
+
assert any such rights held by the Licensor to the limited
|
| 212 |
+
extent necessary to allow You to exercise the Licensed
|
| 213 |
+
Rights, but not otherwise.
|
| 214 |
+
|
| 215 |
+
2. Patent and trademark rights are not licensed under this
|
| 216 |
+
Public License.
|
| 217 |
+
|
| 218 |
+
3. To the extent possible, the Licensor waives any right to
|
| 219 |
+
collect royalties from You for the exercise of the Licensed
|
| 220 |
+
Rights, whether directly or through a collecting society
|
| 221 |
+
under any voluntary or waivable statutory or compulsory
|
| 222 |
+
licensing scheme. In all other cases the Licensor expressly
|
| 223 |
+
reserves any right to collect such royalties.
|
| 224 |
+
|
| 225 |
+
|
| 226 |
+
Section 3 -- License Conditions.
|
| 227 |
+
|
| 228 |
+
Your exercise of the Licensed Rights is expressly made subject to the
|
| 229 |
+
following conditions.
|
| 230 |
+
|
| 231 |
+
a. Attribution.
|
| 232 |
+
|
| 233 |
+
1. If You Share the Licensed Material (including in modified
|
| 234 |
+
form), You must:
|
| 235 |
+
|
| 236 |
+
a. retain the following if it is supplied by the Licensor
|
| 237 |
+
with the Licensed Material:
|
| 238 |
+
|
| 239 |
+
i. identification of the creator(s) of the Licensed
|
| 240 |
+
Material and any others designated to receive
|
| 241 |
+
attribution, in any reasonable manner requested by
|
| 242 |
+
the Licensor (including by pseudonym if
|
| 243 |
+
designated);
|
| 244 |
+
|
| 245 |
+
ii. a copyright notice;
|
| 246 |
+
|
| 247 |
+
iii. a notice that refers to this Public License;
|
| 248 |
+
|
| 249 |
+
iv. a notice that refers to the disclaimer of
|
| 250 |
+
warranties;
|
| 251 |
+
|
| 252 |
+
v. a URI or hyperlink to the Licensed Material to the
|
| 253 |
+
extent reasonably practicable;
|
| 254 |
+
|
| 255 |
+
b. indicate if You modified the Licensed Material and
|
| 256 |
+
retain an indication of any previous modifications; and
|
| 257 |
+
|
| 258 |
+
c. indicate the Licensed Material is licensed under this
|
| 259 |
+
Public License, and include the text of, or the URI or
|
| 260 |
+
hyperlink to, this Public License.
|
| 261 |
+
|
| 262 |
+
2. You may satisfy the conditions in Section 3(a)(1) in any
|
| 263 |
+
reasonable manner based on the medium, means, and context in
|
| 264 |
+
which You Share the Licensed Material. For example, it may be
|
| 265 |
+
reasonable to satisfy the conditions by providing a URI or
|
| 266 |
+
hyperlink to a resource that includes the required
|
| 267 |
+
information.
|
| 268 |
+
|
| 269 |
+
3. If requested by the Licensor, You must remove any of the
|
| 270 |
+
information required by Section 3(a)(1)(A) to the extent
|
| 271 |
+
reasonably practicable.
|
| 272 |
+
|
| 273 |
+
b. ShareAlike.
|
| 274 |
+
|
| 275 |
+
In addition to the conditions in Section 3(a), if You Share
|
| 276 |
+
Adapted Material You produce, the following conditions also apply.
|
| 277 |
+
|
| 278 |
+
1. The Adapter's License You apply must be a Creative Commons
|
| 279 |
+
license with the same License Elements, this version or
|
| 280 |
+
later, or a BY-SA Compatible License.
|
| 281 |
+
|
| 282 |
+
2. You must include the text of, or the URI or hyperlink to, the
|
| 283 |
+
Adapter's License You apply. You may satisfy this condition
|
| 284 |
+
in any reasonable manner based on the medium, means, and
|
| 285 |
+
context in which You Share Adapted Material.
|
| 286 |
+
|
| 287 |
+
3. You may not offer or impose any additional or different terms
|
| 288 |
+
or conditions on, or apply any Effective Technological
|
| 289 |
+
Measures to, Adapted Material that restrict exercise of the
|
| 290 |
+
rights granted under the Adapter's License You apply.
|
| 291 |
+
|
| 292 |
+
|
| 293 |
+
Section 4 -- Sui Generis Database Rights.
|
| 294 |
+
|
| 295 |
+
Where the Licensed Rights include Sui Generis Database Rights that
|
| 296 |
+
apply to Your use of the Licensed Material:
|
| 297 |
+
|
| 298 |
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
| 299 |
+
to extract, reuse, reproduce, and Share all or a substantial
|
| 300 |
+
portion of the contents of the database;
|
| 301 |
+
|
| 302 |
+
b. if You include all or a substantial portion of the database
|
| 303 |
+
contents in a database in which You have Sui Generis Database
|
| 304 |
+
Rights, then the database in which You have Sui Generis Database
|
| 305 |
+
Rights (but not its individual contents) is Adapted Material,
|
| 306 |
+
including for purposes of Section 3(b); and
|
| 307 |
+
|
| 308 |
+
c. You must comply with the conditions in Section 3(a) if You Share
|
| 309 |
+
all or a substantial portion of the contents of the database.
|
| 310 |
+
|
| 311 |
+
For the avoidance of doubt, this Section 4 supplements and does not
|
| 312 |
+
replace Your obligations under this Public License where the Licensed
|
| 313 |
+
Rights include other Copyright and Similar Rights.
|
| 314 |
+
|
| 315 |
+
|
| 316 |
+
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
| 317 |
+
|
| 318 |
+
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
| 319 |
+
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
| 320 |
+
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
| 321 |
+
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
| 322 |
+
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
| 323 |
+
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
| 324 |
+
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
| 325 |
+
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
| 326 |
+
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
| 327 |
+
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
| 328 |
+
|
| 329 |
+
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
| 330 |
+
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
| 331 |
+
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
| 332 |
+
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
| 333 |
+
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
| 334 |
+
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
| 335 |
+
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
| 336 |
+
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
| 337 |
+
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
| 338 |
+
|
| 339 |
+
c. The disclaimer of warranties and limitation of liability provided
|
| 340 |
+
above shall be interpreted in a manner that, to the extent
|
| 341 |
+
possible, most closely approximates an absolute disclaimer and
|
| 342 |
+
waiver of all liability.
|
| 343 |
+
|
| 344 |
+
|
| 345 |
+
Section 6 -- Term and Termination.
|
| 346 |
+
|
| 347 |
+
a. This Public License applies for the term of the Copyright and
|
| 348 |
+
Similar Rights licensed here. However, if You fail to comply with
|
| 349 |
+
this Public License, then Your rights under this Public License
|
| 350 |
+
terminate automatically.
|
| 351 |
+
|
| 352 |
+
b. Where Your right to use the Licensed Material has terminated under
|
| 353 |
+
Section 6(a), it reinstates:
|
| 354 |
+
|
| 355 |
+
1. automatically as of the date the violation is cured, provided
|
| 356 |
+
it is cured within 30 days of Your discovery of the
|
| 357 |
+
violation; or
|
| 358 |
+
|
| 359 |
+
2. upon express reinstatement by the Licensor.
|
| 360 |
+
|
| 361 |
+
For the avoidance of doubt, this Section 6(b) does not affect any
|
| 362 |
+
right the Licensor may have to seek remedies for Your violations
|
| 363 |
+
of this Public License.
|
| 364 |
+
|
| 365 |
+
c. For the avoidance of doubt, the Licensor may also offer the
|
| 366 |
+
Licensed Material under separate terms or conditions or stop
|
| 367 |
+
distributing the Licensed Material at any time; however, doing so
|
| 368 |
+
will not terminate this Public License.
|
| 369 |
+
|
| 370 |
+
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
| 371 |
+
License.
|
| 372 |
+
|
| 373 |
+
|
| 374 |
+
Section 7 -- Other Terms and Conditions.
|
| 375 |
+
|
| 376 |
+
a. The Licensor shall not be bound by any additional or different
|
| 377 |
+
terms or conditions communicated by You unless expressly agreed.
|
| 378 |
+
|
| 379 |
+
b. Any arrangements, understandings, or agreements regarding the
|
| 380 |
+
Licensed Material not stated herein are separate from and
|
| 381 |
+
independent of the terms and conditions of this Public License.
|
| 382 |
+
|
| 383 |
+
|
| 384 |
+
Section 8 -- Interpretation.
|
| 385 |
+
|
| 386 |
+
a. For the avoidance of doubt, this Public License does not, and
|
| 387 |
+
shall not be interpreted to, reduce, limit, restrict, or impose
|
| 388 |
+
conditions on any use of the Licensed Material that could lawfully
|
| 389 |
+
be made without permission under this Public License.
|
| 390 |
+
|
| 391 |
+
b. To the extent possible, if any provision of this Public License is
|
| 392 |
+
deemed unenforceable, it shall be automatically reformed to the
|
| 393 |
+
minimum extent necessary to make it enforceable. If the provision
|
| 394 |
+
cannot be reformed, it shall be severed from this Public License
|
| 395 |
+
without affecting the enforceability of the remaining terms and
|
| 396 |
+
conditions.
|
| 397 |
+
|
| 398 |
+
c. No term or condition of this Public License will be waived and no
|
| 399 |
+
failure to comply consented to unless expressly agreed to by the
|
| 400 |
+
Licensor.
|
| 401 |
+
|
| 402 |
+
d. Nothing in this Public License constitutes or may be interpreted
|
| 403 |
+
as a limitation upon, or waiver of, any privileges and immunities
|
| 404 |
+
that apply to the Licensor or You, including from the legal
|
| 405 |
+
processes of any jurisdiction or authority.
|
| 406 |
+
|
| 407 |
+
|
| 408 |
+
=======================================================================
|
| 409 |
+
|
| 410 |
+
Creative Commons is not a party to its public
|
| 411 |
+
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
| 412 |
+
its public licenses to material it publishes and in those instances
|
| 413 |
+
will be considered the “Licensor.” The text of the Creative Commons
|
| 414 |
+
public licenses is dedicated to the public domain under the CC0 Public
|
| 415 |
+
Domain Dedication. Except for the limited purpose of indicating that
|
| 416 |
+
material is shared under a Creative Commons public license or as
|
| 417 |
+
otherwise permitted by the Creative Commons policies published at
|
| 418 |
+
creativecommons.org/policies, Creative Commons does not authorize the
|
| 419 |
+
use of the trademark "Creative Commons" or any other trademark or logo
|
| 420 |
+
of Creative Commons without its prior written consent including,
|
| 421 |
+
without limitation, in connection with any unauthorized modifications
|
| 422 |
+
to any of its public licenses or any other arrangements,
|
| 423 |
+
understandings, or agreements concerning use of licensed material. For
|
| 424 |
+
the avoidance of doubt, this paragraph does not form part of the
|
| 425 |
+
public licenses.
|
| 426 |
+
|
| 427 |
+
Creative Commons may be contacted at creativecommons.org.
|
| 428 |
+
|
LICENSES/cassi_BSD-3-Clause.txt
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD 3-Clause License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021, ETH Zurich, NVIDIA Corporation
|
| 4 |
+
All rights reserved.
|
| 5 |
+
|
| 6 |
+
Redistribution and use in source and binary forms, with or without
|
| 7 |
+
modification, are permitted provided that the following conditions are met:
|
| 8 |
+
|
| 9 |
+
1. Redistributions of source code must retain the above copyright notice, this
|
| 10 |
+
list of conditions and the following disclaimer.
|
| 11 |
+
|
| 12 |
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
| 13 |
+
this list of conditions and the following disclaimer in the documentation
|
| 14 |
+
and/or other materials provided with the distribution.
|
| 15 |
+
|
| 16 |
+
3. Neither the name of the copyright holder nor the names of its contributors
|
| 17 |
+
may be used to endorse or promote products derived from this software
|
| 18 |
+
without specific prior written permission.
|
| 19 |
+
|
| 20 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 21 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 22 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 23 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
| 24 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 25 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 26 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 27 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 28 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 29 |
+
ARISING OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 30 |
+
OF SUCH DAMAGE.
|
README.md
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 5 |
+
pretty_name: "Kine2Go: Kinematic Dataset for Unitree Go2 with Diverse Gaits and Motions"
|
| 6 |
+
size_categories:
|
| 7 |
+
- n<1K
|
| 8 |
+
task_categories:
|
| 9 |
+
- robotics
|
| 10 |
+
- reinforcement-learning
|
| 11 |
+
tags:
|
| 12 |
+
- kine2go
|
| 13 |
+
- quadruped
|
| 14 |
+
- unitree-go2
|
| 15 |
+
- motion-retargeting
|
| 16 |
+
- imitation-learning
|
| 17 |
+
- kinematic-dataset
|
| 18 |
+
- mocap
|
| 19 |
+
- genesis-simulator
|
| 20 |
+
- ppo
|
| 21 |
+
- gait
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# Kine2Go: Kinematic Dataset for Unitree Go2 with Diverse Gaits and Motions
|
| 25 |
+
|
| 26 |
+
A kinematic motion dataset for the Unitree Go2 quadruped robot. Forty reference clips (dog, horse, and synthetic robot motions) are retargeted to the Go2 morphology and paired with a per-clip imitation-learning policy (PPO) and 20 perturbed rollouts with rendered video. Designed to support training and regularization of behavioral foundation models for legged locomotion (Meta-Motivo style), with secondary applicability to single-clip behavioral cloning and motion-retargeting evaluation.
|
| 27 |
+
|
| 28 |
+
Paper and pipeline-code links are omitted during anonymous review.
|
| 29 |
+
|
| 30 |
+
## At a glance
|
| 31 |
+
|
| 32 |
+
| | |
|
| 33 |
+
|---|---|
|
| 34 |
+
| Robot | Unitree Go2 (12 actuated joints) |
|
| 35 |
+
| Simulator | Genesis |
|
| 36 |
+
| Clips | 40 |
|
| 37 |
+
| Rollouts per clip | 20 |
|
| 38 |
+
| Total rollouts | 800 |
|
| 39 |
+
| Reference state dim | 61 (float32) |
|
| 40 |
+
| Control / sim FPS | 60 Hz |
|
| 41 |
+
|
| 42 |
+
## Quick start
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
import sys; sys.path.insert(0, "scripts")
|
| 46 |
+
from load_clip import Clip, list_clips
|
| 47 |
+
|
| 48 |
+
for name in list_clips("."):
|
| 49 |
+
print(name)
|
| 50 |
+
|
| 51 |
+
clip = Clip(".", "ai4_dog_canter")
|
| 52 |
+
motion = clip.motion # np.ndarray (T, 61) float32
|
| 53 |
+
config = clip.config # env / obs / reward / command / policy configs
|
| 54 |
+
meta = clip.metadata # source, license, fps, n_frames, ...
|
| 55 |
+
frames = clip.rollout(0) # list of per-step dicts (requires torch)
|
| 56 |
+
policy = clip.policy_path # path to the trained PPO checkpoint
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
Validate a downloaded copy:
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
python scripts/verify_schema.py
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Per-clip layout
|
| 66 |
+
|
| 67 |
+
```
|
| 68 |
+
<clip_name>/
|
| 69 |
+
├── motion.npy # (T, 61) float32 reference trajectory
|
| 70 |
+
├── config.json # env / obs / reward / command / policy configs
|
| 71 |
+
├── cfgs.pkl # same configs, pickle (for tooling)
|
| 72 |
+
├── clip.json # per-clip metadata (source, license, n_frames, ...)
|
| 73 |
+
├── traj_NNNN/ # 20 perturbed PPO rollouts (NNNN = 0000..0019)
|
| 74 |
+
│ ├── init_state.pkl
|
| 75 |
+
│ ├── traj.pkl # list of per-step frame dicts
|
| 76 |
+
│ └── traj.mp4 # rendered video
|
| 77 |
+
└── logs/
|
| 78 |
+
└── model.pt # final PPO checkpoint
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Subsets and licensing
|
| 82 |
+
|
| 83 |
+
Multi-license dataset. Each `clip.json` carries the authoritative per-clip license. Full license texts are in `LICENSES/`.
|
| 84 |
+
|
| 85 |
+
| Subset | Clip prefix | Clips | Rollouts | License |
|
| 86 |
+
|---|---|---|---|---|
|
| 87 |
+
| AI4Animation - natural dog mocap | `ai4_dog_*` (excl. `synth`) | 15 | 300 | CC BY-NC 4.0 |
|
| 88 |
+
| AI4Animation - synthetic via SIGGRAPH 2018 controller | `ai4_dog_synth_*` | 7 | 140 | CC BY-NC 4.0 |
|
| 89 |
+
| Vienna Horse Data Collection (Horse 1, two sessions) | `vhdc_horse1_*` | 12 | 240 | CC BY-SA 4.0 |
|
| 90 |
+
| cassi - Solo8 robot motions | `solo8_*` | 6 | 120 | BSD-3-Clause |
|
| 91 |
+
|
| 92 |
+
## Schema
|
| 93 |
+
|
| 94 |
+
### `motion.npy` (reference trajectory)
|
| 95 |
+
|
| 96 |
+
Shape `(T, 61)` float32. Per-frame layout:
|
| 97 |
+
|
| 98 |
+
| Slice | Field | Description |
|
| 99 |
+
|---|---|---|
|
| 100 |
+
| `[0:18]` | `dofs_position` | 6 floating-base DOFs + 12 joint DOFs |
|
| 101 |
+
| `[18:36]` | `dofs_velocity` | matching DOF order |
|
| 102 |
+
| `[36:48]` | `feet_pos` | 4 feet × xyz, world frame |
|
| 103 |
+
| `[48:51]` | `base_pos` | world-frame xyz |
|
| 104 |
+
| `[51:55]` | `base_quat` | scalar-first quaternion (w, x, y, z) |
|
| 105 |
+
| `[55:58]` | `base_lin_vel` | linear velocity |
|
| 106 |
+
| `[58:61]` | `base_ang_vel` | angular velocity |
|
| 107 |
+
|
| 108 |
+
### `traj_NNNN/traj.pkl` (rollouts)
|
| 109 |
+
|
| 110 |
+
A `list` (one entry per simulator step). Each entry is a `dict[str, torch.Tensor]` with the following keys:
|
| 111 |
+
|
| 112 |
+
| Key | Shape | dtype | Description |
|
| 113 |
+
|---|---|---|---|
|
| 114 |
+
| `dof_pos` | (1, 12) | float32 | joint angles |
|
| 115 |
+
| `dof_vel` | (1, 12) | float32 | joint velocities |
|
| 116 |
+
| `base_quat` | (1, 4) | float32 | base orientation, scalar-first quaternion |
|
| 117 |
+
| `base_ang_vel` | (1, 3) | float32 | base angular velocity |
|
| 118 |
+
| `actions` | (1, 12) | float32 | PPO policy output |
|
| 119 |
+
| `frame` | (1,) | int32 | episode-relative simulator step counter |
|
| 120 |
+
| `links_pos` | (17, 3) | float32 | world-frame xyz per link |
|
| 121 |
+
| `links_rot` | (17, 6) | float32 | 6-d continuous rotation per link |
|
| 122 |
+
|
| 123 |
+
### Conventions
|
| 124 |
+
|
| 125 |
+
- Z-up coordinates (X forward, Y left, Z up).
|
| 126 |
+
- Linear units: meters; angular units: radians; quaternions are scalar-first.
|
| 127 |
+
- Joint order: `FR_hip, FR_thigh, FR_calf, FL_hip, FL_thigh, FL_calf, RR_hip, RR_thigh, RR_calf, RL_hip, RL_thigh, RL_calf`.
|
| 128 |
+
- Feet order (in `motion.npy[36:48]`): `FL_foot, RL_foot, FR_foot, RR_foot`.
|
| 129 |
+
|
| 130 |
+
The full machine-readable schema is in `metadata.json`.
|
| 131 |
+
|
| 132 |
+
## Collection and preprocessing
|
| 133 |
+
|
| 134 |
+
Source motions were retargeted to the Go2 12-DOF morphology and used to train per-clip imitation policies in the Genesis simulator:
|
| 135 |
+
|
| 136 |
+
- **AI4Animation - natural** (Zhang et al., SIGGRAPH 2018): dog mocap data.
|
| 137 |
+
- **AI4Animation - synthetic**: a custom trajectory collector was injected into the AI4Animation SIGGRAPH 2018 controller to drive the trained model along authored paths (circle, ellipse, figure-eight, square, strafes, and a half-flipping jump).
|
| 138 |
+
- **Vienna Horse Data Collection**: biomechanical horse kinematics across two measurement sessions × {walk, trot} × 3 repetitions.
|
| 139 |
+
- **cassi - Solo8** (Li et al., ICRA 2023): six trajectories from cassi's Solo8 motion bank (slow/fast crawl, scoot, walk, two jump variants).
|
| 140 |
+
|
| 141 |
+
Each retargeted reference was used to train a PPO policy (`rsl_rl_lib`) in Genesis with hyperparameters captured in `config.json`. After training, 20 perturbed rollouts were recorded per clip.
|
| 142 |
+
|
| 143 |
+
## Citations
|
| 144 |
+
|
| 145 |
+
If you use this dataset, please cite the Kine2Go paper *and* the upstream sources for whichever subsets you use.
|
| 146 |
+
|
| 147 |
+
```bibtex
|
| 148 |
+
@inproceedings{kine2go2026,
|
| 149 |
+
title = {Kine2Go: Kinematic Dataset for Unitree Go2 with Diverse Gaits and Motions},
|
| 150 |
+
author = {<authors TBD>},
|
| 151 |
+
booktitle = {NeurIPS Datasets and Benchmarks Track},
|
| 152 |
+
year = {2026}
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
% AI4Animation - applies to ai4_dog_* and ai4_dog_synth_*
|
| 156 |
+
@article{zhang2018modeadaptive,
|
| 157 |
+
title = {Mode-Adaptive Neural Networks for Quadruped Motion Control},
|
| 158 |
+
author = {Zhang, He and Starke, Sebastian and Komura, Taku and Saito, Jun},
|
| 159 |
+
journal = {ACM Transactions on Graphics},
|
| 160 |
+
year = {2018}
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
% Vienna Horse Data Collection - applies to vhdc_horse1_*
|
| 164 |
+
@misc{vhdc,
|
| 165 |
+
title = {Vienna Horse Data Collection (VHDC)},
|
| 166 |
+
url = {https://horse.cs.uni-bonn.de/vhdc-home.html}
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
% cassi - applies to solo8_*
|
| 170 |
+
@inproceedings{li2023versatile,
|
| 171 |
+
title = {Versatile Skill Control via Self-supervised Adversarial Imitation of Unlabeled Mixed Motions},
|
| 172 |
+
author = {Li, Chenhao and Blaes, Sebastian and Kolev, Pavel and Vlastelica, Marin and Frey, Jonas and Martius, Georg},
|
| 173 |
+
booktitle = {IEEE International Conference on Robotics and Automation (ICRA)},
|
| 174 |
+
year = {2023}
|
| 175 |
+
}
|
| 176 |
+
```
|
data/ai4_dog_canter/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "paper_canter",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 10000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3_redo",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
430,
|
| 240 |
+
459
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/ai4_dog_pace/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_pace",
|
| 3 |
+
"source": "AI4Animation - natural dog mocap (SIGGRAPH 2018 release)",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "dog pace (AI4Animation paper eval set)",
|
| 11 |
+
"tags": [
|
| 12 |
+
"pace"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/ai4_dog_pace/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "paper_pace",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
162,
|
| 240 |
+
201
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/ai4_dog_run_04/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_run_04",
|
| 3 |
+
"source": "AI4Animation - natural dog mocap (SIGGRAPH 2018 release)",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "dog run, take 4",
|
| 11 |
+
"tags": [
|
| 12 |
+
"run"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/ai4_dog_run_04/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "run04",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
493,
|
| 240 |
+
716
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/ai4_dog_synth_circle_walk/clip.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_synth_circle_walk",
|
| 3 |
+
"source": "AI4Animation - synthetic, generated from the SIGGRAPH 2018 controller via a custom trajectory collector",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 1171,
|
| 9 |
+
"duration_s": 19.517,
|
| 10 |
+
"description": "walk along a circular path",
|
| 11 |
+
"tags": [
|
| 12 |
+
"walk",
|
| 13 |
+
"circle"
|
| 14 |
+
]
|
| 15 |
+
}
|
data/ai4_dog_synth_circle_walk/config.json
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"randomize_init_frame": false,
|
| 134 |
+
"start_synced_with_ref_motion": true,
|
| 135 |
+
"sync_full_pose": true,
|
| 136 |
+
"policy_steps_per_ref_motion_step": 1
|
| 137 |
+
},
|
| 138 |
+
"obs_cfg": {
|
| 139 |
+
"num_obs": 31,
|
| 140 |
+
"num_history_obs": 3,
|
| 141 |
+
"obs_noise": {
|
| 142 |
+
"ang_vel": 0.0,
|
| 143 |
+
"gravity": 0.0,
|
| 144 |
+
"dof_pos": 0.0,
|
| 145 |
+
"dof_vel": 0.0
|
| 146 |
+
},
|
| 147 |
+
"obs_scales": {
|
| 148 |
+
"lin_vel": 1.0,
|
| 149 |
+
"ang_vel": 1.0,
|
| 150 |
+
"dof_pos": 1.0,
|
| 151 |
+
"dof_vel": 1.0
|
| 152 |
+
}
|
| 153 |
+
},
|
| 154 |
+
"reward_cfg": {
|
| 155 |
+
"tracking_sigma": 0.25,
|
| 156 |
+
"soft_dof_pos_limit": 0.9,
|
| 157 |
+
"base_height_target": 0.3,
|
| 158 |
+
"reward_scales": {
|
| 159 |
+
"joint_rot": 0.008333333333333333,
|
| 160 |
+
"joint_vel": 0.0008333333333333334,
|
| 161 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 162 |
+
"root_pose": 0.0025,
|
| 163 |
+
"root_vel": 0.0016666666666666668
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"command_cfg": {
|
| 167 |
+
"num_commands": 3,
|
| 168 |
+
"lin_vel_x_range": [
|
| 169 |
+
-1.0,
|
| 170 |
+
1.0
|
| 171 |
+
],
|
| 172 |
+
"lin_vel_y_range": [
|
| 173 |
+
-1.0,
|
| 174 |
+
1.0
|
| 175 |
+
],
|
| 176 |
+
"ang_vel_range": [
|
| 177 |
+
-1.0,
|
| 178 |
+
1.0
|
| 179 |
+
]
|
| 180 |
+
},
|
| 181 |
+
"policy_cfg": {
|
| 182 |
+
"algorithm": {
|
| 183 |
+
"class_name": "PPO",
|
| 184 |
+
"clip_param": 0.2,
|
| 185 |
+
"desired_kl": 0.01,
|
| 186 |
+
"entropy_coef": 0.01,
|
| 187 |
+
"gamma": 0.99,
|
| 188 |
+
"lam": 0.95,
|
| 189 |
+
"learning_rate": 0.001,
|
| 190 |
+
"max_grad_norm": 1.0,
|
| 191 |
+
"num_learning_epochs": 5,
|
| 192 |
+
"num_mini_batches": 4,
|
| 193 |
+
"schedule": "adaptive",
|
| 194 |
+
"use_clipped_value_loss": true,
|
| 195 |
+
"value_loss_coef": 1.0
|
| 196 |
+
},
|
| 197 |
+
"init_member_classes": {},
|
| 198 |
+
"policy": {
|
| 199 |
+
"activation": "elu",
|
| 200 |
+
"actor_hidden_dims": [
|
| 201 |
+
512,
|
| 202 |
+
256,
|
| 203 |
+
128
|
| 204 |
+
],
|
| 205 |
+
"critic_hidden_dims": [
|
| 206 |
+
512,
|
| 207 |
+
256,
|
| 208 |
+
128
|
| 209 |
+
],
|
| 210 |
+
"init_noise_std": 1.0,
|
| 211 |
+
"class_name": "ActorCritic"
|
| 212 |
+
},
|
| 213 |
+
"runner": {
|
| 214 |
+
"checkpoint": -1,
|
| 215 |
+
"experiment_name": "trajectory_0005_imitation",
|
| 216 |
+
"load_run": -1,
|
| 217 |
+
"log_interval": 1,
|
| 218 |
+
"max_iterations": 10000,
|
| 219 |
+
"record_interval": -1,
|
| 220 |
+
"resume": false,
|
| 221 |
+
"resume_path": null
|
| 222 |
+
},
|
| 223 |
+
"runner_class_name": "OnPolicyRunner",
|
| 224 |
+
"num_steps_per_env": 24,
|
| 225 |
+
"save_interval": 1000,
|
| 226 |
+
"empirical_normalization": null,
|
| 227 |
+
"seed": 1,
|
| 228 |
+
"logger": "wandb",
|
| 229 |
+
"wandb_mode": "online",
|
| 230 |
+
"project": "wolf_imitation",
|
| 231 |
+
"entity": "quadruped-rl",
|
| 232 |
+
"group": null,
|
| 233 |
+
"obs_groups": {
|
| 234 |
+
"policy": [
|
| 235 |
+
"policy"
|
| 236 |
+
],
|
| 237 |
+
"critic": [
|
| 238 |
+
"policy"
|
| 239 |
+
]
|
| 240 |
+
},
|
| 241 |
+
"motion_range": [
|
| 242 |
+
446,
|
| 243 |
+
806
|
| 244 |
+
]
|
| 245 |
+
}
|
| 246 |
+
}
|
data/ai4_dog_synth_ellipse_walk/clip.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_synth_ellipse_walk",
|
| 3 |
+
"source": "AI4Animation - synthetic, generated from the SIGGRAPH 2018 controller via a custom trajectory collector",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 1171,
|
| 9 |
+
"duration_s": 19.517,
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.25,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"randomize_init_frame": true,
|
| 134 |
+
"start_synced_with_ref_motion": true,
|
| 135 |
+
"sync_full_pose": true,
|
| 136 |
+
"policy_steps_per_ref_motion_step": 1
|
| 137 |
+
},
|
| 138 |
+
"obs_cfg": {
|
| 139 |
+
"num_obs": 31,
|
| 140 |
+
"num_history_obs": 3,
|
| 141 |
+
"obs_noise": {
|
| 142 |
+
"ang_vel": 0.0,
|
| 143 |
+
"gravity": 0.0,
|
| 144 |
+
"dof_pos": 0.0,
|
| 145 |
+
"dof_vel": 0.0
|
| 146 |
+
},
|
| 147 |
+
"obs_scales": {
|
| 148 |
+
"lin_vel": 1.0,
|
| 149 |
+
"ang_vel": 1.0,
|
| 150 |
+
"dof_pos": 1.0,
|
| 151 |
+
"dof_vel": 1.0
|
| 152 |
+
}
|
| 153 |
+
},
|
| 154 |
+
"reward_cfg": {
|
| 155 |
+
"tracking_sigma": 0.25,
|
| 156 |
+
"soft_dof_pos_limit": 0.9,
|
| 157 |
+
"base_height_target": 0.3,
|
| 158 |
+
"reward_scales": {
|
| 159 |
+
"joint_rot": 0.008333333333333333,
|
| 160 |
+
"joint_vel": 0.0008333333333333334,
|
| 161 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 162 |
+
"root_pose": 0.0025,
|
| 163 |
+
"root_vel": 0.0016666666666666668
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"command_cfg": {
|
| 167 |
+
"num_commands": 3,
|
| 168 |
+
"lin_vel_x_range": [
|
| 169 |
+
-1.0,
|
| 170 |
+
1.0
|
| 171 |
+
],
|
| 172 |
+
"lin_vel_y_range": [
|
| 173 |
+
-1.0,
|
| 174 |
+
1.0
|
| 175 |
+
],
|
| 176 |
+
"ang_vel_range": [
|
| 177 |
+
-1.0,
|
| 178 |
+
1.0
|
| 179 |
+
]
|
| 180 |
+
},
|
| 181 |
+
"policy_cfg": {
|
| 182 |
+
"algorithm": {
|
| 183 |
+
"class_name": "PPO",
|
| 184 |
+
"clip_param": 0.2,
|
| 185 |
+
"desired_kl": 0.01,
|
| 186 |
+
"entropy_coef": 0.01,
|
| 187 |
+
"gamma": 0.99,
|
| 188 |
+
"lam": 0.95,
|
| 189 |
+
"learning_rate": 0.001,
|
| 190 |
+
"max_grad_norm": 1.0,
|
| 191 |
+
"num_learning_epochs": 5,
|
| 192 |
+
"num_mini_batches": 4,
|
| 193 |
+
"schedule": "adaptive",
|
| 194 |
+
"use_clipped_value_loss": true,
|
| 195 |
+
"value_loss_coef": 1.0
|
| 196 |
+
},
|
| 197 |
+
"init_member_classes": {},
|
| 198 |
+
"policy": {
|
| 199 |
+
"activation": "elu",
|
| 200 |
+
"actor_hidden_dims": [
|
| 201 |
+
512,
|
| 202 |
+
256,
|
| 203 |
+
128
|
| 204 |
+
],
|
| 205 |
+
"critic_hidden_dims": [
|
| 206 |
+
512,
|
| 207 |
+
256,
|
| 208 |
+
128
|
| 209 |
+
],
|
| 210 |
+
"init_noise_std": 1.0,
|
| 211 |
+
"class_name": "ActorCritic"
|
| 212 |
+
},
|
| 213 |
+
"runner": {
|
| 214 |
+
"checkpoint": -1,
|
| 215 |
+
"experiment_name": "trajectory_0007_imitation_warmup_and_randomize",
|
| 216 |
+
"load_run": -1,
|
| 217 |
+
"log_interval": 1,
|
| 218 |
+
"max_iterations": 10000,
|
| 219 |
+
"record_interval": -1,
|
| 220 |
+
"resume": false,
|
| 221 |
+
"resume_path": null
|
| 222 |
+
},
|
| 223 |
+
"runner_class_name": "OnPolicyRunner",
|
| 224 |
+
"num_steps_per_env": 24,
|
| 225 |
+
"save_interval": 1000,
|
| 226 |
+
"empirical_normalization": null,
|
| 227 |
+
"seed": 1,
|
| 228 |
+
"logger": "wandb",
|
| 229 |
+
"wandb_mode": "online",
|
| 230 |
+
"project": "wolf_imitation",
|
| 231 |
+
"entity": "quadruped-rl",
|
| 232 |
+
"group": null,
|
| 233 |
+
"obs_groups": {
|
| 234 |
+
"policy": [
|
| 235 |
+
"policy"
|
| 236 |
+
],
|
| 237 |
+
"critic": [
|
| 238 |
+
"policy"
|
| 239 |
+
]
|
| 240 |
+
},
|
| 241 |
+
"motion_range": [
|
| 242 |
+
116,
|
| 243 |
+
1165
|
| 244 |
+
]
|
| 245 |
+
}
|
| 246 |
+
}
|
data/ai4_dog_synth_wide_strafe/clip.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_synth_wide_strafe",
|
| 3 |
+
"source": "AI4Animation - synthetic, generated from the SIGGRAPH 2018 controller via a custom trajectory collector",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 960,
|
| 9 |
+
"duration_s": 16.0,
|
| 10 |
+
"description": "wide lateral strafing",
|
| 11 |
+
"tags": [
|
| 12 |
+
"strafe",
|
| 13 |
+
"lateral"
|
| 14 |
+
]
|
| 15 |
+
}
|
data/ai4_dog_synth_wide_strafe/config.json
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"randomize_init_frame": false,
|
| 134 |
+
"start_synced_with_ref_motion": true,
|
| 135 |
+
"sync_full_pose": true,
|
| 136 |
+
"policy_steps_per_ref_motion_step": 1
|
| 137 |
+
},
|
| 138 |
+
"obs_cfg": {
|
| 139 |
+
"num_obs": 31,
|
| 140 |
+
"num_history_obs": 3,
|
| 141 |
+
"obs_noise": {
|
| 142 |
+
"ang_vel": 0.0,
|
| 143 |
+
"gravity": 0.0,
|
| 144 |
+
"dof_pos": 0.0,
|
| 145 |
+
"dof_vel": 0.0
|
| 146 |
+
},
|
| 147 |
+
"obs_scales": {
|
| 148 |
+
"lin_vel": 1.0,
|
| 149 |
+
"ang_vel": 1.0,
|
| 150 |
+
"dof_pos": 1.0,
|
| 151 |
+
"dof_vel": 1.0
|
| 152 |
+
}
|
| 153 |
+
},
|
| 154 |
+
"reward_cfg": {
|
| 155 |
+
"tracking_sigma": 0.25,
|
| 156 |
+
"soft_dof_pos_limit": 0.9,
|
| 157 |
+
"base_height_target": 0.3,
|
| 158 |
+
"reward_scales": {
|
| 159 |
+
"joint_rot": 0.008333333333333333,
|
| 160 |
+
"joint_vel": 0.0008333333333333334,
|
| 161 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 162 |
+
"root_pose": 0.0025,
|
| 163 |
+
"root_vel": 0.0016666666666666668
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"command_cfg": {
|
| 167 |
+
"num_commands": 3,
|
| 168 |
+
"lin_vel_x_range": [
|
| 169 |
+
-1.0,
|
| 170 |
+
1.0
|
| 171 |
+
],
|
| 172 |
+
"lin_vel_y_range": [
|
| 173 |
+
-1.0,
|
| 174 |
+
1.0
|
| 175 |
+
],
|
| 176 |
+
"ang_vel_range": [
|
| 177 |
+
-1.0,
|
| 178 |
+
1.0
|
| 179 |
+
]
|
| 180 |
+
},
|
| 181 |
+
"policy_cfg": {
|
| 182 |
+
"algorithm": {
|
| 183 |
+
"class_name": "PPO",
|
| 184 |
+
"clip_param": 0.2,
|
| 185 |
+
"desired_kl": 0.01,
|
| 186 |
+
"entropy_coef": 0.01,
|
| 187 |
+
"gamma": 0.99,
|
| 188 |
+
"lam": 0.95,
|
| 189 |
+
"learning_rate": 0.001,
|
| 190 |
+
"max_grad_norm": 1.0,
|
| 191 |
+
"num_learning_epochs": 5,
|
| 192 |
+
"num_mini_batches": 4,
|
| 193 |
+
"schedule": "adaptive",
|
| 194 |
+
"use_clipped_value_loss": true,
|
| 195 |
+
"value_loss_coef": 1.0
|
| 196 |
+
},
|
| 197 |
+
"init_member_classes": {},
|
| 198 |
+
"policy": {
|
| 199 |
+
"activation": "elu",
|
| 200 |
+
"actor_hidden_dims": [
|
| 201 |
+
512,
|
| 202 |
+
256,
|
| 203 |
+
128
|
| 204 |
+
],
|
| 205 |
+
"critic_hidden_dims": [
|
| 206 |
+
512,
|
| 207 |
+
256,
|
| 208 |
+
128
|
| 209 |
+
],
|
| 210 |
+
"init_noise_std": 1.0,
|
| 211 |
+
"class_name": "ActorCritic"
|
| 212 |
+
},
|
| 213 |
+
"runner": {
|
| 214 |
+
"checkpoint": -1,
|
| 215 |
+
"experiment_name": "trajectory_0008_imitation",
|
| 216 |
+
"load_run": -1,
|
| 217 |
+
"log_interval": 1,
|
| 218 |
+
"max_iterations": 10000,
|
| 219 |
+
"record_interval": -1,
|
| 220 |
+
"resume": false,
|
| 221 |
+
"resume_path": null
|
| 222 |
+
},
|
| 223 |
+
"runner_class_name": "OnPolicyRunner",
|
| 224 |
+
"num_steps_per_env": 24,
|
| 225 |
+
"save_interval": 1000,
|
| 226 |
+
"empirical_normalization": null,
|
| 227 |
+
"seed": 1,
|
| 228 |
+
"logger": "wandb",
|
| 229 |
+
"wandb_mode": "online",
|
| 230 |
+
"project": "wolf_imitation",
|
| 231 |
+
"entity": "quadruped-rl",
|
| 232 |
+
"group": null,
|
| 233 |
+
"obs_groups": {
|
| 234 |
+
"policy": [
|
| 235 |
+
"policy"
|
| 236 |
+
],
|
| 237 |
+
"critic": [
|
| 238 |
+
"policy"
|
| 239 |
+
]
|
| 240 |
+
},
|
| 241 |
+
"motion_range": [
|
| 242 |
+
12,
|
| 243 |
+
1080
|
| 244 |
+
]
|
| 245 |
+
}
|
| 246 |
+
}
|
data/ai4_dog_trot_00/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_trot_00",
|
| 3 |
+
"source": "AI4Animation - natural dog mocap (SIGGRAPH 2018 release)",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "dog trot (AI4Animation paper eval set)",
|
| 11 |
+
"tags": [
|
| 12 |
+
"trot"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/ai4_dog_trot_00/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "paper_trot",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 10000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3_redo",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
448,
|
| 240 |
+
481
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/ai4_dog_trot_01/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_trot_01",
|
| 3 |
+
"source": "AI4Animation - natural dog mocap (SIGGRAPH 2018 release)",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "dog trot, variant (AI4Animation paper eval set)",
|
| 11 |
+
"tags": [
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "paper_trot2",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 10000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3_redo",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
630,
|
| 240 |
+
663
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/ai4_dog_walk_00/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_walk_00",
|
| 3 |
+
"source": "AI4Animation - natural dog mocap (SIGGRAPH 2018 release)",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "dog walk, take 0",
|
| 11 |
+
"tags": [
|
| 12 |
+
"walk"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/ai4_dog_walk_00/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "walk00",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
101,
|
| 240 |
+
580
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/ai4_dog_walk_01/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_walk_01",
|
| 3 |
+
"source": "AI4Animation - natural dog mocap (SIGGRAPH 2018 release)",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "walk01",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 10000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3_redo",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
377,
|
| 240 |
+
1050
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/ai4_dog_walk_06/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ai4_dog_walk_06",
|
| 3 |
+
"source": "AI4Animation - natural dog mocap (SIGGRAPH 2018 release)",
|
| 4 |
+
"source_url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 5 |
+
"license": "CC BY-NC 4.0",
|
| 6 |
+
"attribution": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "dog walk, take 6",
|
| 11 |
+
"tags": [
|
| 12 |
+
"walk"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/ai4_dog_walk_06/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "walk06",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
200,
|
| 240 |
+
392
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/solo8_crawl_fast/clip.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "solo8_crawl_fast",
|
| 3 |
+
"source": "cassi - Solo8 robot motion data",
|
| 4 |
+
"source_url": "https://github.com/martius-lab/cassi",
|
| 5 |
+
"license": "BSD-3-Clause",
|
| 6 |
+
"attribution": "C. Li et al., 'Versatile Skill Control via Self-supervised Adversarial Imitation of Unlabeled Mixed Motions', ICRA 2023",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "robot crawling fast forward",
|
| 11 |
+
"tags": [
|
| 12 |
+
"crawl",
|
| 13 |
+
"fast"
|
| 14 |
+
]
|
| 15 |
+
}
|
data/solo8_crawl_fast/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "traj3_imitation",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 1000,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "solo8_imitation",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
77,
|
| 240 |
+
119
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/solo8_crawl_slow/clip.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "solo8_crawl_slow",
|
| 3 |
+
"source": "cassi - Solo8 robot motion data",
|
| 4 |
+
"source_url": "https://github.com/martius-lab/cassi",
|
| 5 |
+
"license": "BSD-3-Clause",
|
| 6 |
+
"attribution": "C. Li et al., 'Versatile Skill Control via Self-supervised Adversarial Imitation of Unlabeled Mixed Motions', ICRA 2023",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "robot slowly crawling",
|
| 11 |
+
"tags": [
|
| 12 |
+
"crawl",
|
| 13 |
+
"slow"
|
| 14 |
+
]
|
| 15 |
+
}
|
data/solo8_crawl_slow/config.json
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 158 |
+
"root_pose": 0.0025,
|
| 159 |
+
"smooth_actions": 0.005833333333333333
|
| 160 |
+
}
|
| 161 |
+
},
|
| 162 |
+
"command_cfg": {
|
| 163 |
+
"num_commands": 3,
|
| 164 |
+
"lin_vel_x_range": [
|
| 165 |
+
-1.0,
|
| 166 |
+
1.0
|
| 167 |
+
],
|
| 168 |
+
"lin_vel_y_range": [
|
| 169 |
+
-1.0,
|
| 170 |
+
1.0
|
| 171 |
+
],
|
| 172 |
+
"ang_vel_range": [
|
| 173 |
+
-1.0,
|
| 174 |
+
1.0
|
| 175 |
+
]
|
| 176 |
+
},
|
| 177 |
+
"policy_cfg": {
|
| 178 |
+
"algorithm": {
|
| 179 |
+
"class_name": "PPO",
|
| 180 |
+
"clip_param": 0.2,
|
| 181 |
+
"desired_kl": 0.01,
|
| 182 |
+
"entropy_coef": 0.01,
|
| 183 |
+
"gamma": 0.99,
|
| 184 |
+
"lam": 0.95,
|
| 185 |
+
"learning_rate": 0.001,
|
| 186 |
+
"max_grad_norm": 1.0,
|
| 187 |
+
"num_learning_epochs": 5,
|
| 188 |
+
"num_mini_batches": 4,
|
| 189 |
+
"schedule": "adaptive",
|
| 190 |
+
"use_clipped_value_loss": true,
|
| 191 |
+
"value_loss_coef": 1.0
|
| 192 |
+
},
|
| 193 |
+
"init_member_classes": {},
|
| 194 |
+
"policy": {
|
| 195 |
+
"activation": "elu",
|
| 196 |
+
"actor_hidden_dims": [
|
| 197 |
+
512,
|
| 198 |
+
256,
|
| 199 |
+
128
|
| 200 |
+
],
|
| 201 |
+
"critic_hidden_dims": [
|
| 202 |
+
512,
|
| 203 |
+
256,
|
| 204 |
+
128
|
| 205 |
+
],
|
| 206 |
+
"init_noise_std": 1.0,
|
| 207 |
+
"class_name": "ActorCritic"
|
| 208 |
+
},
|
| 209 |
+
"runner": {
|
| 210 |
+
"checkpoint": -1,
|
| 211 |
+
"experiment_name": "solo8_motion_data_traj0_imitation",
|
| 212 |
+
"load_run": -1,
|
| 213 |
+
"log_interval": 1,
|
| 214 |
+
"max_iterations": 10000,
|
| 215 |
+
"record_interval": -1,
|
| 216 |
+
"resume": false,
|
| 217 |
+
"resume_path": null
|
| 218 |
+
},
|
| 219 |
+
"runner_class_name": "OnPolicyRunner",
|
| 220 |
+
"num_steps_per_env": 24,
|
| 221 |
+
"save_interval": 1000,
|
| 222 |
+
"empirical_normalization": null,
|
| 223 |
+
"seed": 1,
|
| 224 |
+
"logger": "wandb",
|
| 225 |
+
"wandb_mode": "online",
|
| 226 |
+
"project": "solo8_imitation",
|
| 227 |
+
"entity": "quadruped-rl",
|
| 228 |
+
"group": null,
|
| 229 |
+
"obs_groups": {
|
| 230 |
+
"policy": [
|
| 231 |
+
"policy"
|
| 232 |
+
],
|
| 233 |
+
"critic": [
|
| 234 |
+
"policy"
|
| 235 |
+
]
|
| 236 |
+
},
|
| 237 |
+
"motion_range": [
|
| 238 |
+
25,
|
| 239 |
+
-1
|
| 240 |
+
]
|
| 241 |
+
}
|
| 242 |
+
}
|
data/solo8_jump_forward_a/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "solo8_jump_forward_a",
|
| 3 |
+
"source": "cassi - Solo8 robot motion data",
|
| 4 |
+
"source_url": "https://github.com/martius-lab/cassi",
|
| 5 |
+
"license": "BSD-3-Clause",
|
| 6 |
+
"attribution": "C. Li et al., 'Versatile Skill Control via Self-supervised Adversarial Imitation of Unlabeled Mixed Motions', ICRA 2023",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "robot jumping forward, variant A",
|
| 11 |
+
"tags": [
|
| 12 |
+
"jump"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/solo8_jump_forward_a/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "traj23_imitation",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 1000,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "solo8_imitation",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
52,
|
| 240 |
+
114
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/vhdc_horse1_s1_trot_03/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vhdc_horse1_s1_trot_03",
|
| 3 |
+
"source": "Vienna Horse Data Collection",
|
| 4 |
+
"source_url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 5 |
+
"license": "CC BY-SA 4.0",
|
| 6 |
+
"attribution": "Vienna Horse Data Collection",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "Horse 1, session 1, trot repetition 3",
|
| 11 |
+
"tags": [
|
| 12 |
+
"trot"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/vhdc_horse1_s1_trot_03/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "h1m1_trot3",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
12,
|
| 240 |
+
567
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/vhdc_horse1_s1_walk_02/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vhdc_horse1_s1_walk_02",
|
| 3 |
+
"source": "Vienna Horse Data Collection",
|
| 4 |
+
"source_url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 5 |
+
"license": "CC BY-SA 4.0",
|
| 6 |
+
"attribution": "Vienna Horse Data Collection",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "Horse 1, session 1, walk repetition 2",
|
| 11 |
+
"tags": [
|
| 12 |
+
"walk"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/vhdc_horse1_s1_walk_02/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "h1m1_walk2",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
4,
|
| 240 |
+
591
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/vhdc_horse1_s2_trot_01/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vhdc_horse1_s2_trot_01",
|
| 3 |
+
"source": "Vienna Horse Data Collection",
|
| 4 |
+
"source_url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 5 |
+
"license": "CC BY-SA 4.0",
|
| 6 |
+
"attribution": "Vienna Horse Data Collection",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "Horse 1, session 2, trot repetition 1",
|
| 11 |
+
"tags": [
|
| 12 |
+
"trot"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/vhdc_horse1_s2_trot_01/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "h1m2_trot1",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
7,
|
| 240 |
+
1144
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/vhdc_horse1_s2_trot_02/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vhdc_horse1_s2_trot_02",
|
| 3 |
+
"source": "Vienna Horse Data Collection",
|
| 4 |
+
"source_url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 5 |
+
"license": "CC BY-SA 4.0",
|
| 6 |
+
"attribution": "Vienna Horse Data Collection",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "Horse 1, session 2, trot repetition 2",
|
| 11 |
+
"tags": [
|
| 12 |
+
"trot"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/vhdc_horse1_s2_trot_02/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "h1m2_trot2",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
3,
|
| 240 |
+
1173
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/vhdc_horse1_s2_trot_03/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vhdc_horse1_s2_trot_03",
|
| 3 |
+
"source": "Vienna Horse Data Collection",
|
| 4 |
+
"source_url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 5 |
+
"license": "CC BY-SA 4.0",
|
| 6 |
+
"attribution": "Vienna Horse Data Collection",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "Horse 1, session 2, trot repetition 3",
|
| 11 |
+
"tags": [
|
| 12 |
+
"trot"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/vhdc_horse1_s2_trot_03/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env_cfg": {
|
| 3 |
+
"urdf_path": "urdf/go2/urdf/go2.urdf",
|
| 4 |
+
"links_to_keep": [
|
| 5 |
+
"FL_foot",
|
| 6 |
+
"FR_foot",
|
| 7 |
+
"RL_foot",
|
| 8 |
+
"RR_foot"
|
| 9 |
+
],
|
| 10 |
+
"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "h1m2_trot3",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
10,
|
| 240 |
+
1194
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/vhdc_horse1_s2_walk_02/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vhdc_horse1_s2_walk_02",
|
| 3 |
+
"source": "Vienna Horse Data Collection",
|
| 4 |
+
"source_url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 5 |
+
"license": "CC BY-SA 4.0",
|
| 6 |
+
"attribution": "Vienna Horse Data Collection",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "Horse 1, session 2, walk repetition 2",
|
| 11 |
+
"tags": [
|
| 12 |
+
"walk"
|
| 13 |
+
]
|
| 14 |
+
}
|
data/vhdc_horse1_s2_walk_02/config.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"num_actions": 12,
|
| 11 |
+
"num_dofs": 12,
|
| 12 |
+
"default_joint_angles": {
|
| 13 |
+
"FL_hip_joint": 0.0,
|
| 14 |
+
"FR_hip_joint": 0.0,
|
| 15 |
+
"RL_hip_joint": 0.0,
|
| 16 |
+
"RR_hip_joint": 0.0,
|
| 17 |
+
"FL_thigh_joint": 0.8,
|
| 18 |
+
"FR_thigh_joint": 0.8,
|
| 19 |
+
"RL_thigh_joint": 1.0,
|
| 20 |
+
"RR_thigh_joint": 1.0,
|
| 21 |
+
"FL_calf_joint": -1.5,
|
| 22 |
+
"FR_calf_joint": -1.5,
|
| 23 |
+
"RL_calf_joint": -1.5,
|
| 24 |
+
"RR_calf_joint": -1.5
|
| 25 |
+
},
|
| 26 |
+
"dof_names": [
|
| 27 |
+
"FR_hip_joint",
|
| 28 |
+
"FR_thigh_joint",
|
| 29 |
+
"FR_calf_joint",
|
| 30 |
+
"FL_hip_joint",
|
| 31 |
+
"FL_thigh_joint",
|
| 32 |
+
"FL_calf_joint",
|
| 33 |
+
"RR_hip_joint",
|
| 34 |
+
"RR_thigh_joint",
|
| 35 |
+
"RR_calf_joint",
|
| 36 |
+
"RL_hip_joint",
|
| 37 |
+
"RL_thigh_joint",
|
| 38 |
+
"RL_calf_joint"
|
| 39 |
+
],
|
| 40 |
+
"termination_contact_link_names": [
|
| 41 |
+
"base"
|
| 42 |
+
],
|
| 43 |
+
"penalized_contact_link_names": [
|
| 44 |
+
"base",
|
| 45 |
+
"thigh",
|
| 46 |
+
"calf"
|
| 47 |
+
],
|
| 48 |
+
"feet_link_names": [
|
| 49 |
+
"foot"
|
| 50 |
+
],
|
| 51 |
+
"base_link_name": [
|
| 52 |
+
"base"
|
| 53 |
+
],
|
| 54 |
+
"PD_stiffness": {
|
| 55 |
+
"joint": 30.0
|
| 56 |
+
},
|
| 57 |
+
"PD_damping": {
|
| 58 |
+
"joint": 1.5
|
| 59 |
+
},
|
| 60 |
+
"use_implicit_controller": false,
|
| 61 |
+
"termination_if_roll_greater_than": 100,
|
| 62 |
+
"termination_if_pitch_greater_than": 100,
|
| 63 |
+
"termination_if_height_lower_than": 0.0,
|
| 64 |
+
"base_init_pos": [
|
| 65 |
+
0.0,
|
| 66 |
+
0.0,
|
| 67 |
+
0.42
|
| 68 |
+
],
|
| 69 |
+
"base_init_quat": [
|
| 70 |
+
1.0,
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0
|
| 74 |
+
],
|
| 75 |
+
"push_interval_s": -1,
|
| 76 |
+
"max_push_vel_xy": 1.0,
|
| 77 |
+
"episode_length_s": 20.0,
|
| 78 |
+
"resampling_time_s": 4.0,
|
| 79 |
+
"command_type": "ang_vel_yaw",
|
| 80 |
+
"action_scale": 0.25,
|
| 81 |
+
"action_latency": 0.02,
|
| 82 |
+
"clip_actions": 100.0,
|
| 83 |
+
"send_timeouts": true,
|
| 84 |
+
"control_freq": 60,
|
| 85 |
+
"decimation": 4,
|
| 86 |
+
"feet_geom_offset": 1,
|
| 87 |
+
"use_terrain": false,
|
| 88 |
+
"dofs_position_rand_range": 0.3,
|
| 89 |
+
"base_position_rand_range": 1.0,
|
| 90 |
+
"randomize_base_yaw": true,
|
| 91 |
+
"randomize_friction": false,
|
| 92 |
+
"randomize_trajectory_heading": true,
|
| 93 |
+
"friction_range": [
|
| 94 |
+
0.2,
|
| 95 |
+
1.5
|
| 96 |
+
],
|
| 97 |
+
"randomize_base_mass": true,
|
| 98 |
+
"added_mass_range": [
|
| 99 |
+
-1.0,
|
| 100 |
+
3.0
|
| 101 |
+
],
|
| 102 |
+
"randomize_com_displacement": true,
|
| 103 |
+
"com_displacement_range": [
|
| 104 |
+
-0.01,
|
| 105 |
+
0.01
|
| 106 |
+
],
|
| 107 |
+
"randomize_motor_strength": false,
|
| 108 |
+
"motor_strength_range": [
|
| 109 |
+
0.9,
|
| 110 |
+
1.1
|
| 111 |
+
],
|
| 112 |
+
"randomize_motor_offset": true,
|
| 113 |
+
"motor_offset_range": [
|
| 114 |
+
-0.02,
|
| 115 |
+
0.02
|
| 116 |
+
],
|
| 117 |
+
"randomize_kp_scale": true,
|
| 118 |
+
"kp_scale_range": [
|
| 119 |
+
0.8,
|
| 120 |
+
1.2
|
| 121 |
+
],
|
| 122 |
+
"randomize_kd_scale": true,
|
| 123 |
+
"kd_scale_range": [
|
| 124 |
+
0.8,
|
| 125 |
+
1.2
|
| 126 |
+
],
|
| 127 |
+
"coupling": false,
|
| 128 |
+
"ref_state_init_prob": 0.9,
|
| 129 |
+
"warmup_time_s": 0.0,
|
| 130 |
+
"terminate_dist_threshold": 1.0,
|
| 131 |
+
"terminate_rot_threshold": 1.5707963267948966,
|
| 132 |
+
"perturb_init_state": true,
|
| 133 |
+
"policy_steps_per_ref_motion_step": 1
|
| 134 |
+
},
|
| 135 |
+
"obs_cfg": {
|
| 136 |
+
"num_obs": 31,
|
| 137 |
+
"num_history_obs": 3,
|
| 138 |
+
"obs_noise": {
|
| 139 |
+
"ang_vel": 0.0,
|
| 140 |
+
"gravity": 0.0,
|
| 141 |
+
"dof_pos": 0.0,
|
| 142 |
+
"dof_vel": 0.0
|
| 143 |
+
},
|
| 144 |
+
"obs_scales": {
|
| 145 |
+
"lin_vel": 1.0,
|
| 146 |
+
"ang_vel": 1.0,
|
| 147 |
+
"dof_pos": 1.0,
|
| 148 |
+
"dof_vel": 1.0
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
"reward_cfg": {
|
| 152 |
+
"tracking_sigma": 0.25,
|
| 153 |
+
"soft_dof_pos_limit": 0.9,
|
| 154 |
+
"base_height_target": 0.3,
|
| 155 |
+
"reward_scales": {
|
| 156 |
+
"joint_rot": 0.008333333333333333,
|
| 157 |
+
"joint_vel": 0.0008333333333333334,
|
| 158 |
+
"end_effector_pos": 0.0033333333333333335,
|
| 159 |
+
"root_pose": 0.0025,
|
| 160 |
+
"root_vel": 0.0016666666666666668
|
| 161 |
+
}
|
| 162 |
+
},
|
| 163 |
+
"command_cfg": {
|
| 164 |
+
"num_commands": 3,
|
| 165 |
+
"lin_vel_x_range": [
|
| 166 |
+
-1.0,
|
| 167 |
+
1.0
|
| 168 |
+
],
|
| 169 |
+
"lin_vel_y_range": [
|
| 170 |
+
-1.0,
|
| 171 |
+
1.0
|
| 172 |
+
],
|
| 173 |
+
"ang_vel_range": [
|
| 174 |
+
-1.0,
|
| 175 |
+
1.0
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"policy_cfg": {
|
| 179 |
+
"algorithm": {
|
| 180 |
+
"class_name": "PPO",
|
| 181 |
+
"clip_param": 0.2,
|
| 182 |
+
"desired_kl": 0.01,
|
| 183 |
+
"entropy_coef": 0.01,
|
| 184 |
+
"gamma": 0.99,
|
| 185 |
+
"lam": 0.95,
|
| 186 |
+
"learning_rate": 0.001,
|
| 187 |
+
"max_grad_norm": 1.0,
|
| 188 |
+
"num_learning_epochs": 5,
|
| 189 |
+
"num_mini_batches": 4,
|
| 190 |
+
"schedule": "adaptive",
|
| 191 |
+
"use_clipped_value_loss": true,
|
| 192 |
+
"value_loss_coef": 1.0
|
| 193 |
+
},
|
| 194 |
+
"init_member_classes": {},
|
| 195 |
+
"policy": {
|
| 196 |
+
"activation": "elu",
|
| 197 |
+
"actor_hidden_dims": [
|
| 198 |
+
512,
|
| 199 |
+
256,
|
| 200 |
+
128
|
| 201 |
+
],
|
| 202 |
+
"critic_hidden_dims": [
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
128
|
| 206 |
+
],
|
| 207 |
+
"init_noise_std": 1.0,
|
| 208 |
+
"class_name": "ActorCritic"
|
| 209 |
+
},
|
| 210 |
+
"runner": {
|
| 211 |
+
"checkpoint": -1,
|
| 212 |
+
"experiment_name": "h1m2_walk2",
|
| 213 |
+
"load_run": -1,
|
| 214 |
+
"log_interval": 1,
|
| 215 |
+
"max_iterations": 5000,
|
| 216 |
+
"record_interval": -1,
|
| 217 |
+
"resume": false,
|
| 218 |
+
"resume_path": null
|
| 219 |
+
},
|
| 220 |
+
"runner_class_name": "OnPolicyRunner",
|
| 221 |
+
"num_steps_per_env": 24,
|
| 222 |
+
"save_interval": 100,
|
| 223 |
+
"empirical_normalization": null,
|
| 224 |
+
"seed": 1,
|
| 225 |
+
"logger": "wandb",
|
| 226 |
+
"wandb_mode": "online",
|
| 227 |
+
"project": "imitation_dataset_v3",
|
| 228 |
+
"entity": "quadruped-rl",
|
| 229 |
+
"group": null,
|
| 230 |
+
"obs_groups": {
|
| 231 |
+
"policy": [
|
| 232 |
+
"policy"
|
| 233 |
+
],
|
| 234 |
+
"critic": [
|
| 235 |
+
"policy"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"motion_range": [
|
| 239 |
+
27,
|
| 240 |
+
1153
|
| 241 |
+
]
|
| 242 |
+
}
|
| 243 |
+
}
|
data/vhdc_horse1_s2_walk_03/clip.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vhdc_horse1_s2_walk_03",
|
| 3 |
+
"source": "Vienna Horse Data Collection",
|
| 4 |
+
"source_url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 5 |
+
"license": "CC BY-SA 4.0",
|
| 6 |
+
"attribution": "Vienna Horse Data Collection",
|
| 7 |
+
"fps": 60,
|
| 8 |
+
"n_frames": 571,
|
| 9 |
+
"duration_s": 9.517,
|
| 10 |
+
"description": "Horse 1, session 2, walk repetition 3",
|
| 11 |
+
"tags": [
|
| 12 |
+
"walk"
|
| 13 |
+
]
|
| 14 |
+
}
|
metadata.json
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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{
|
| 2 |
+
"name": "Kine2Go",
|
| 3 |
+
"version": "0.1.0",
|
| 4 |
+
"description": "Kinematic dataset for the Unitree Go2 quadruped robot, containing reference motions retargeted from natural and synthetic quadruped sources, together with imitation-learning training artifacts (per-clip PPO policy and 20 perturbed rollouts with rendered video) for diverse gaits and motions.",
|
| 5 |
+
"robot": "Unitree Go2",
|
| 6 |
+
"fps": 60,
|
| 7 |
+
"n_clips": 40,
|
| 8 |
+
"rollouts_per_clip": 20,
|
| 9 |
+
"n_rollouts": 800,
|
| 10 |
+
"subsets": {
|
| 11 |
+
"ai4_dog": {
|
| 12 |
+
"n_clips": 15,
|
| 13 |
+
"n_rollouts": 300,
|
| 14 |
+
"license": "CC BY-NC 4.0"
|
| 15 |
+
},
|
| 16 |
+
"ai4_dog_synth": {
|
| 17 |
+
"n_clips": 7,
|
| 18 |
+
"n_rollouts": 140,
|
| 19 |
+
"license": "CC BY-NC 4.0"
|
| 20 |
+
},
|
| 21 |
+
"solo8": {
|
| 22 |
+
"n_clips": 6,
|
| 23 |
+
"n_rollouts": 120,
|
| 24 |
+
"license": "BSD-3-Clause"
|
| 25 |
+
},
|
| 26 |
+
"vhdc": {
|
| 27 |
+
"n_clips": 12,
|
| 28 |
+
"n_rollouts": 240,
|
| 29 |
+
"license": "CC BY-SA 4.0"
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"reference_motion": {
|
| 33 |
+
"file": "motion.npy",
|
| 34 |
+
"shape": "(T_ref, 61)",
|
| 35 |
+
"dtype": "float32",
|
| 36 |
+
"field_layout": [
|
| 37 |
+
{
|
| 38 |
+
"slice": "[0:18]",
|
| 39 |
+
"name": "dofs_position",
|
| 40 |
+
"note": "6 floating-base DOFs followed by 12 joint DOFs in the order FR_hip, FR_thigh, FR_calf, FL_hip, FL_thigh, FL_calf, RR_hip, RR_thigh, RR_calf, RL_hip, RL_thigh, RL_calf"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"slice": "[18:36]",
|
| 44 |
+
"name": "dofs_velocity",
|
| 45 |
+
"note": "same DOF order as dofs_position"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"slice": "[36:48]",
|
| 49 |
+
"name": "feet_pos",
|
| 50 |
+
"note": "world-frame xyz for 4 feet, ordered FL_foot, RL_foot, FR_foot, RR_foot"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"slice": "[48:51]",
|
| 54 |
+
"name": "base_pos",
|
| 55 |
+
"note": "world-frame (x, y, z)"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"slice": "[51:55]",
|
| 59 |
+
"name": "base_quat",
|
| 60 |
+
"note": "scalar-first quaternion (w, x, y, z)"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"slice": "[55:58]",
|
| 64 |
+
"name": "base_lin_vel",
|
| 65 |
+
"note": "world-frame (x, y, z)"
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"slice": "[58:61]",
|
| 69 |
+
"name": "base_ang_vel",
|
| 70 |
+
"note": "world-frame (x, y, z)"
|
| 71 |
+
}
|
| 72 |
+
]
|
| 73 |
+
},
|
| 74 |
+
"rollouts": {
|
| 75 |
+
"trajectory_format": "list; each entry is one simulator step",
|
| 76 |
+
"init_state_file": "traj_NNNN/init_state.pkl",
|
| 77 |
+
"trajectory_file": "traj_NNNN/traj.pkl",
|
| 78 |
+
"video_file": "traj_NNNN/traj.mp4",
|
| 79 |
+
"frame_layout": [
|
| 80 |
+
{
|
| 81 |
+
"key": "dof_pos",
|
| 82 |
+
"shape": "(1, 12)",
|
| 83 |
+
"dtype": "float32",
|
| 84 |
+
"note": "joint angles, 12 DOFs in the order FR_hip, FR_thigh, FR_calf, FL_hip, FL_thigh, FL_calf, RR_hip, RR_thigh, RR_calf, RL_hip, RL_thigh, RL_calf"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"key": "dof_vel",
|
| 88 |
+
"shape": "(1, 12)",
|
| 89 |
+
"dtype": "float32",
|
| 90 |
+
"note": "joint velocities, same DOF order as dof_pos"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"key": "base_quat",
|
| 94 |
+
"shape": "(1, 4)",
|
| 95 |
+
"dtype": "float32",
|
| 96 |
+
"note": "base orientation, scalar-first quaternion (w, x, y, z)"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"key": "base_ang_vel",
|
| 100 |
+
"shape": "(1, 3)",
|
| 101 |
+
"dtype": "float32",
|
| 102 |
+
"note": "base angular velocity (x, y, z)"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"key": "actions",
|
| 106 |
+
"shape": "(1, 12)",
|
| 107 |
+
"dtype": "float32",
|
| 108 |
+
"note": "PPO policy output for the step (per-joint, same DOF order as dof_pos)"
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"key": "frame",
|
| 112 |
+
"shape": "(1,)",
|
| 113 |
+
"dtype": "int32",
|
| 114 |
+
"note": "episode-relative simulator step counter"
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"key": "links_pos",
|
| 118 |
+
"shape": "(17, 3)",
|
| 119 |
+
"dtype": "float32",
|
| 120 |
+
"note": "world-frame xyz per link"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"key": "links_rot",
|
| 124 |
+
"shape": "(17, 6)",
|
| 125 |
+
"dtype": "float32",
|
| 126 |
+
"note": "6-d continuous rotation representation per link"
|
| 127 |
+
}
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"policy": {
|
| 131 |
+
"file": "logs/model.pt",
|
| 132 |
+
"framework": "PPO via rsl_rl_lib (hyperparameters in config.json::policy_cfg)"
|
| 133 |
+
},
|
| 134 |
+
"conventions": {
|
| 135 |
+
"axes": "Z-up (X forward, Y left, Z up)",
|
| 136 |
+
"linear_units": "meters",
|
| 137 |
+
"angular_units": "radians",
|
| 138 |
+
"quaternion_order": "scalar-first (w, x, y, z)",
|
| 139 |
+
"joint_order": [
|
| 140 |
+
"FR_hip_joint",
|
| 141 |
+
"FR_thigh_joint",
|
| 142 |
+
"FR_calf_joint",
|
| 143 |
+
"FL_hip_joint",
|
| 144 |
+
"FL_thigh_joint",
|
| 145 |
+
"FL_calf_joint",
|
| 146 |
+
"RR_hip_joint",
|
| 147 |
+
"RR_thigh_joint",
|
| 148 |
+
"RR_calf_joint",
|
| 149 |
+
"RL_hip_joint",
|
| 150 |
+
"RL_thigh_joint",
|
| 151 |
+
"RL_calf_joint"
|
| 152 |
+
],
|
| 153 |
+
"feet_order": [
|
| 154 |
+
"FL_foot",
|
| 155 |
+
"RL_foot",
|
| 156 |
+
"FR_foot",
|
| 157 |
+
"RR_foot"
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"citations": [
|
| 161 |
+
{
|
| 162 |
+
"key": "ai4animation",
|
| 163 |
+
"ref": "H. Zhang et al., 'Mode-Adaptive Neural Networks for Quadruped Motion Control', SIGGRAPH 2018",
|
| 164 |
+
"url": "https://github.com/sebastianstarke/AI4Animation/tree/master/AI4Animation/SIGGRAPH_2018",
|
| 165 |
+
"applies_to": [
|
| 166 |
+
"ai4_dog",
|
| 167 |
+
"ai4_dog_synth"
|
| 168 |
+
]
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"key": "vhdc",
|
| 172 |
+
"ref": "Vienna Horse Data Collection",
|
| 173 |
+
"url": "https://horse.cs.uni-bonn.de/vhdc-home.html",
|
| 174 |
+
"applies_to": [
|
| 175 |
+
"vhdc"
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"key": "cassi",
|
| 180 |
+
"ref": "C. Li et al., 'Versatile Skill Control via Self-supervised Adversarial Imitation of Unlabeled Mixed Motions', ICRA 2023",
|
| 181 |
+
"url": "https://github.com/martius-lab/cassi",
|
| 182 |
+
"applies_to": [
|
| 183 |
+
"solo8"
|
| 184 |
+
]
|
| 185 |
+
}
|
| 186 |
+
]
|
| 187 |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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Lightweight loader for the Kine2Go dataset.
|
| 2 |
+
|
| 3 |
+
Repository layout:
|
| 4 |
+
|
| 5 |
+
<dataset_root>/
|
| 6 |
+
├── README.md
|
| 7 |
+
├── LICENSE
|
| 8 |
+
├── LICENSES/
|
| 9 |
+
├── metadata.json
|
| 10 |
+
├── scripts/
|
| 11 |
+
└── data/
|
| 12 |
+
└── <clip_name>/
|
| 13 |
+
├── motion.npy (T, 61) float32 reference trajectory
|
| 14 |
+
├── config.json env / obs / reward / command / policy configs
|
| 15 |
+
├── cfgs.pkl same configs as a pickle (for tooling)
|
| 16 |
+
├── clip.json per-clip metadata (source, license, n_frames, ...)
|
| 17 |
+
├── traj_NNNN/ 20 perturbed PPO rollouts (NNNN = 0000..0019)
|
| 18 |
+
│ ├── init_state.pkl
|
| 19 |
+
│ ├── traj.pkl list of per-step frame dicts
|
| 20 |
+
│ └── traj.mp4 rendered video
|
| 21 |
+
└── logs/
|
| 22 |
+
└── model.pt final PPO checkpoint
|
| 23 |
+
|
| 24 |
+
Quick usage:
|
| 25 |
+
|
| 26 |
+
from load_clip import Clip, list_clips
|
| 27 |
+
|
| 28 |
+
for name in list_clips("kine2go"):
|
| 29 |
+
clip = Clip("kine2go", name)
|
| 30 |
+
print(name, clip.motion.shape, clip.metadata["license"])
|
| 31 |
+
|
| 32 |
+
clip = Clip("kine2go", "ai4_dog_canter")
|
| 33 |
+
motion = clip.motion # np.ndarray (T, 61) float32
|
| 34 |
+
cfg = clip.config # {env_cfg, obs_cfg, reward_cfg, command_cfg, policy_cfg}
|
| 35 |
+
meta = clip.metadata # {name, source, license, fps, n_frames, ...}
|
| 36 |
+
frames = clip.rollout(0) # list of per-step dicts (requires torch)
|
| 37 |
+
policy = clip.policy_path # Path to data/<clip>/logs/model.pt
|
| 38 |
+
|
| 39 |
+
Run as a script to print clip summaries:
|
| 40 |
+
|
| 41 |
+
python scripts/load_clip.py # list every clip
|
| 42 |
+
python scripts/load_clip.py ai4_dog_canter # summarize one clip
|
| 43 |
+
"""
|
| 44 |
+
|
| 45 |
+
from __future__ import annotations
|
| 46 |
+
|
| 47 |
+
import argparse
|
| 48 |
+
import json
|
| 49 |
+
from dataclasses import dataclass
|
| 50 |
+
from functools import cached_property
|
| 51 |
+
from pathlib import Path
|
| 52 |
+
|
| 53 |
+
import numpy as np
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
def list_clips(root: Path | str) -> list[str]:
|
| 57 |
+
"""Return clip directory names in alphabetical order."""
|
| 58 |
+
return sorted(p.name for p in (Path(root) / "data").iterdir() if p.is_dir())
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
@dataclass
|
| 62 |
+
class Clip:
|
| 63 |
+
"""A single Kine2Go clip. Files are loaded lazily on first access."""
|
| 64 |
+
|
| 65 |
+
root: Path
|
| 66 |
+
name: str
|
| 67 |
+
|
| 68 |
+
def __post_init__(self) -> None:
|
| 69 |
+
self.root = Path(self.root)
|
| 70 |
+
if not self.dir.is_dir():
|
| 71 |
+
raise FileNotFoundError(f"clip directory not found: {self.dir}")
|
| 72 |
+
|
| 73 |
+
@property
|
| 74 |
+
def dir(self) -> Path:
|
| 75 |
+
return self.root / "data" / self.name
|
| 76 |
+
|
| 77 |
+
@cached_property
|
| 78 |
+
def metadata(self) -> dict:
|
| 79 |
+
return json.loads((self.dir / "clip.json").read_text())
|
| 80 |
+
|
| 81 |
+
@cached_property
|
| 82 |
+
def config(self) -> dict:
|
| 83 |
+
return json.loads((self.dir / "config.json").read_text())
|
| 84 |
+
|
| 85 |
+
@cached_property
|
| 86 |
+
def motion(self) -> np.ndarray:
|
| 87 |
+
return np.load(self.dir / "motion.npy")
|
| 88 |
+
|
| 89 |
+
@property
|
| 90 |
+
def n_rollouts(self) -> int:
|
| 91 |
+
return sum(
|
| 92 |
+
1 for p in self.dir.iterdir() if p.is_dir() and p.name.startswith("traj_")
|
| 93 |
+
)
|
| 94 |
+
|
| 95 |
+
def rollout_dir(self, idx: int) -> Path:
|
| 96 |
+
return self.dir / f"traj_{idx:04d}"
|
| 97 |
+
|
| 98 |
+
def rollout(self, idx: int) -> list[dict]:
|
| 99 |
+
"""Load rollout ``idx`` as a list of per-step frame dicts. Requires ``torch``."""
|
| 100 |
+
try:
|
| 101 |
+
import torch
|
| 102 |
+
except ImportError as e:
|
| 103 |
+
raise ImportError(
|
| 104 |
+
"Loading rollouts requires `torch`. Install with: pip install torch"
|
| 105 |
+
) from e
|
| 106 |
+
return torch.load(
|
| 107 |
+
self.rollout_dir(idx) / "traj.pkl", map_location="cpu", weights_only=False
|
| 108 |
+
)
|
| 109 |
+
|
| 110 |
+
def rollout_video(self, idx: int) -> Path:
|
| 111 |
+
return self.rollout_dir(idx) / "traj.mp4"
|
| 112 |
+
|
| 113 |
+
@property
|
| 114 |
+
def policy_path(self) -> Path:
|
| 115 |
+
"""Path to the PPO checkpoint in logs/."""
|
| 116 |
+
path = self.dir / "logs" / "model.pt"
|
| 117 |
+
if not path.exists():
|
| 118 |
+
raise FileNotFoundError(f"checkpoint not found: {path}")
|
| 119 |
+
return path
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
def _summary(clip: Clip) -> str:
|
| 123 |
+
m = clip.metadata
|
| 124 |
+
return (
|
| 125 |
+
f"{clip.name}\n"
|
| 126 |
+
f" source : {m['source']}\n"
|
| 127 |
+
f" license : {m['license']}\n"
|
| 128 |
+
f" fps : {m['fps']}\n"
|
| 129 |
+
f" n_frames : {m['n_frames']}\n"
|
| 130 |
+
f" duration_s : {m['duration_s']}\n"
|
| 131 |
+
f" motion : shape {clip.motion.shape}, dtype {clip.motion.dtype}\n"
|
| 132 |
+
f" rollouts : {clip.n_rollouts}\n"
|
| 133 |
+
f" policy : {clip.policy_path.name}\n"
|
| 134 |
+
)
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
def main() -> None:
|
| 138 |
+
parser = argparse.ArgumentParser(description="Load and summarize Kine2Go clips.")
|
| 139 |
+
parser.add_argument(
|
| 140 |
+
"--root",
|
| 141 |
+
type=Path,
|
| 142 |
+
default=Path(__file__).resolve().parent.parent,
|
| 143 |
+
help="Dataset root directory (default: parent of this script).",
|
| 144 |
+
)
|
| 145 |
+
parser.add_argument(
|
| 146 |
+
"clip",
|
| 147 |
+
nargs="?",
|
| 148 |
+
help="Clip name to summarize. If omitted, lists every clip.",
|
| 149 |
+
)
|
| 150 |
+
args = parser.parse_args()
|
| 151 |
+
|
| 152 |
+
if args.clip:
|
| 153 |
+
print(_summary(Clip(args.root, args.clip)))
|
| 154 |
+
else:
|
| 155 |
+
names = list_clips(args.root)
|
| 156 |
+
print(f"{len(names)} clips in {args.root}:")
|
| 157 |
+
for n in names:
|
| 158 |
+
print(f" {n}")
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
if __name__ == "__main__":
|
| 162 |
+
main()
|
scripts/verify_schema.py
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Verify the on-disk Kine2Go dataset matches the schema documented in metadata.json.
|
| 2 |
+
|
| 3 |
+
Usage:
|
| 4 |
+
python dataset/scripts/verify_schema.py
|
| 5 |
+
python dataset/scripts/verify_schema.py --dataset /path/to/kine2go
|
| 6 |
+
|
| 7 |
+
Exits non-zero on any mismatch.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import argparse
|
| 13 |
+
import json
|
| 14 |
+
import sys
|
| 15 |
+
from collections import Counter
|
| 16 |
+
from pathlib import Path
|
| 17 |
+
|
| 18 |
+
import numpy as np
|
| 19 |
+
|
| 20 |
+
N_ROLLOUTS = 20
|
| 21 |
+
MOTION_FEATURE_DIM = 61
|
| 22 |
+
BASE_QUAT_SLICE = slice(51, 55)
|
| 23 |
+
QUAT_NORM_TOLERANCE = 1e-2
|
| 24 |
+
DURATION_TOLERANCE_S = 1e-2
|
| 25 |
+
|
| 26 |
+
REQUIRED_CLIP_FILES = ("motion.npy", "cfgs.pkl", "config.json", "clip.json")
|
| 27 |
+
REQUIRED_CLIP_JSON_KEYS = {
|
| 28 |
+
"name",
|
| 29 |
+
"source",
|
| 30 |
+
"source_url",
|
| 31 |
+
"license",
|
| 32 |
+
"attribution",
|
| 33 |
+
"fps",
|
| 34 |
+
"n_frames",
|
| 35 |
+
"duration_s",
|
| 36 |
+
"description",
|
| 37 |
+
"tags",
|
| 38 |
+
}
|
| 39 |
+
REQUIRED_CONFIG_JSON_KEYS = {
|
| 40 |
+
"env_cfg",
|
| 41 |
+
"obs_cfg",
|
| 42 |
+
"reward_cfg",
|
| 43 |
+
"command_cfg",
|
| 44 |
+
"policy_cfg",
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
def family_of(clip_name: str) -> str:
|
| 49 |
+
if clip_name.startswith("ai4_dog_synth_"):
|
| 50 |
+
return "ai4_dog_synth"
|
| 51 |
+
if clip_name.startswith("ai4_dog_"):
|
| 52 |
+
return "ai4_dog"
|
| 53 |
+
if clip_name.startswith("vhdc_"):
|
| 54 |
+
return "vhdc"
|
| 55 |
+
if clip_name.startswith("solo8_"):
|
| 56 |
+
return "solo8"
|
| 57 |
+
raise ValueError(f"unknown family for clip: {clip_name}")
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def check_clip(clip: Path) -> list[str]:
|
| 61 |
+
errors: list[str] = []
|
| 62 |
+
|
| 63 |
+
for fname in REQUIRED_CLIP_FILES:
|
| 64 |
+
if not (clip / fname).exists():
|
| 65 |
+
errors.append(f"missing {fname}")
|
| 66 |
+
|
| 67 |
+
motion_path = clip / "motion.npy"
|
| 68 |
+
if motion_path.exists():
|
| 69 |
+
motion = np.load(motion_path, mmap_mode="r")
|
| 70 |
+
if motion.ndim != 2 or motion.shape[1] != MOTION_FEATURE_DIM:
|
| 71 |
+
errors.append(
|
| 72 |
+
f"motion.npy shape {motion.shape}, expected (T, {MOTION_FEATURE_DIM})"
|
| 73 |
+
)
|
| 74 |
+
if motion.dtype != np.float32:
|
| 75 |
+
errors.append(f"motion.npy dtype {motion.dtype}, expected float32")
|
| 76 |
+
if motion.ndim == 2 and motion.shape[1] == MOTION_FEATURE_DIM:
|
| 77 |
+
quats = np.asarray(motion[:, BASE_QUAT_SLICE])
|
| 78 |
+
norms = np.linalg.norm(quats, axis=1)
|
| 79 |
+
if np.any(np.abs(norms - 1.0) > QUAT_NORM_TOLERANCE):
|
| 80 |
+
errors.append(
|
| 81 |
+
f"motion.npy base_quat norms not unit (min={norms.min():.4f}, max={norms.max():.4f})",
|
| 82 |
+
)
|
| 83 |
+
|
| 84 |
+
clip_json_path = clip / "clip.json"
|
| 85 |
+
if clip_json_path.exists():
|
| 86 |
+
clip_meta = json.loads(clip_json_path.read_text())
|
| 87 |
+
missing = REQUIRED_CLIP_JSON_KEYS - clip_meta.keys()
|
| 88 |
+
if missing:
|
| 89 |
+
errors.append(f"clip.json missing keys: {sorted(missing)}")
|
| 90 |
+
if clip_meta.get("name") != clip.name:
|
| 91 |
+
errors.append(
|
| 92 |
+
f"clip.json name {clip_meta.get('name')!r} != dir name {clip.name!r}"
|
| 93 |
+
)
|
| 94 |
+
fps = clip_meta.get("fps")
|
| 95 |
+
n_frames = clip_meta.get("n_frames")
|
| 96 |
+
duration = clip_meta.get("duration_s")
|
| 97 |
+
if fps and n_frames and duration is not None:
|
| 98 |
+
expected = n_frames / fps
|
| 99 |
+
if abs(expected - duration) > DURATION_TOLERANCE_S:
|
| 100 |
+
errors.append(
|
| 101 |
+
f"clip.json duration_s {duration} != n_frames/fps {expected:.3f}"
|
| 102 |
+
)
|
| 103 |
+
|
| 104 |
+
config_json_path = clip / "config.json"
|
| 105 |
+
if config_json_path.exists():
|
| 106 |
+
cfg_obj = json.loads(config_json_path.read_text())
|
| 107 |
+
missing_cfg = REQUIRED_CONFIG_JSON_KEYS - cfg_obj.keys()
|
| 108 |
+
if missing_cfg:
|
| 109 |
+
errors.append(f"config.json missing keys: {sorted(missing_cfg)}")
|
| 110 |
+
|
| 111 |
+
for i in range(N_ROLLOUTS):
|
| 112 |
+
traj_dir = clip / f"traj_{i:04d}"
|
| 113 |
+
if not traj_dir.is_dir():
|
| 114 |
+
errors.append(f"missing rollout dir traj_{i:04d}")
|
| 115 |
+
continue
|
| 116 |
+
for required in ("traj.pkl", "init_state.pkl", "traj.mp4"):
|
| 117 |
+
if not (traj_dir / required).exists():
|
| 118 |
+
errors.append(f"traj_{i:04d}/{required} missing")
|
| 119 |
+
|
| 120 |
+
logs_dir = clip / "logs"
|
| 121 |
+
if not logs_dir.is_dir():
|
| 122 |
+
errors.append("missing logs/ directory")
|
| 123 |
+
elif not (logs_dir / "model.pt").exists():
|
| 124 |
+
errors.append("logs/model.pt checkpoint missing")
|
| 125 |
+
|
| 126 |
+
return errors
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def main() -> None:
|
| 130 |
+
parser = argparse.ArgumentParser(description="Verify Kine2Go dataset schema.")
|
| 131 |
+
parser.add_argument(
|
| 132 |
+
"--dataset",
|
| 133 |
+
type=Path,
|
| 134 |
+
default=Path(__file__).resolve().parent.parent,
|
| 135 |
+
help="Dataset root directory (default: parent of this script).",
|
| 136 |
+
)
|
| 137 |
+
args = parser.parse_args()
|
| 138 |
+
dataset: Path = args.dataset
|
| 139 |
+
|
| 140 |
+
if not dataset.is_dir():
|
| 141 |
+
sys.exit(f"dataset directory not found: {dataset}")
|
| 142 |
+
|
| 143 |
+
metadata_path = dataset / "metadata.json"
|
| 144 |
+
if not metadata_path.exists():
|
| 145 |
+
sys.exit(f"metadata.json not found at {metadata_path}")
|
| 146 |
+
metadata = json.loads(metadata_path.read_text())
|
| 147 |
+
|
| 148 |
+
data_dir = dataset / "data"
|
| 149 |
+
if not data_dir.is_dir():
|
| 150 |
+
sys.exit(f"data/ directory not found at {data_dir}")
|
| 151 |
+
clip_dirs = sorted(p for p in data_dir.iterdir() if p.is_dir())
|
| 152 |
+
|
| 153 |
+
top_errors: list[str] = []
|
| 154 |
+
if metadata.get("n_clips") != len(clip_dirs):
|
| 155 |
+
top_errors.append(
|
| 156 |
+
f"metadata.n_clips {metadata.get('n_clips')} != actual {len(clip_dirs)}"
|
| 157 |
+
)
|
| 158 |
+
|
| 159 |
+
actual_family_counts = Counter(family_of(c.name) for c in clip_dirs)
|
| 160 |
+
declared_subsets = metadata.get("subsets", {})
|
| 161 |
+
for fam, info in declared_subsets.items():
|
| 162 |
+
if info.get("n_clips") != actual_family_counts.get(fam, 0):
|
| 163 |
+
top_errors.append(
|
| 164 |
+
f"subset {fam!r}: metadata.n_clips={info.get('n_clips')} != actual={actual_family_counts.get(fam, 0)}",
|
| 165 |
+
)
|
| 166 |
+
unexpected = set(actual_family_counts) - set(declared_subsets)
|
| 167 |
+
if unexpected:
|
| 168 |
+
top_errors.append(
|
| 169 |
+
f"clips belong to families not in metadata.subsets: {sorted(unexpected)}"
|
| 170 |
+
)
|
| 171 |
+
|
| 172 |
+
n_failed = 0
|
| 173 |
+
for clip in clip_dirs:
|
| 174 |
+
clip_errors = check_clip(clip)
|
| 175 |
+
if clip_errors:
|
| 176 |
+
n_failed += 1
|
| 177 |
+
print(f"FAIL {clip.name}:")
|
| 178 |
+
for e in clip_errors:
|
| 179 |
+
print(f" {e}")
|
| 180 |
+
else:
|
| 181 |
+
print(f"OK {clip.name}")
|
| 182 |
+
|
| 183 |
+
if top_errors:
|
| 184 |
+
print("\nTOP-LEVEL ERRORS:")
|
| 185 |
+
for e in top_errors:
|
| 186 |
+
print(f" {e}")
|
| 187 |
+
|
| 188 |
+
print(f"\n{len(clip_dirs) - n_failed}/{len(clip_dirs)} clips passed")
|
| 189 |
+
if n_failed or top_errors:
|
| 190 |
+
sys.exit(1)
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
if __name__ == "__main__":
|
| 194 |
+
main()
|