Instructions to use zhoumiaosen/microduck-running with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Microduck
How to use zhoumiaosen/microduck-running with Microduck:
# Replace SLOT with the slot specified in the model card (walk, stand, sitstand, ground_pick, kick_left, kick_right, roulade). sudo robotctl policy load SLOT zhoumiaosen/microduck-running
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- LICENSE +202 -0
- LICENSE-HARDWARE +12 -0
- NOTICE +19 -0
- README.md +96 -0
- SHA256SUMS.txt +12 -0
- evaluation/final-long.json +44 -0
- evaluation/final-seed123.json +44 -0
- evaluation/final-seed456.json +44 -0
- evaluation/final-seed789.json +44 -0
- evaluation/result.json +10 -0
- model_10998.pt +3 -0
- policy.onnx +3 -0
- run.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
run.mp4 filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this
|
| 152 |
+
License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright 2026 Pollen Robotics
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
LICENSE-HARDWARE
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
|
| 2 |
+
SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
| 3 |
+
|
| 4 |
+
The 3D hardware design files in this repository are licensed under the
|
| 5 |
+
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
|
| 6 |
+
license.
|
| 7 |
+
|
| 8 |
+
You may read the complete legal code at:
|
| 9 |
+
https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en
|
| 10 |
+
|
| 11 |
+
A human-readable summary is available at:
|
| 12 |
+
https://creativecommons.org/licenses/by-nc-sa/4.0/
|
NOTICE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MicroDuck Playground
|
| 2 |
+
Copyright 2026 Hannes von Essen / Vottivott
|
| 3 |
+
|
| 4 |
+
MicroDuck RL is an independent local snapshot refactor of
|
| 5 |
+
Vottivott/microduck-playground, derived from pollen-robotics/microduck_rl.
|
| 6 |
+
This snapshot starts fresh local Git history rather than retaining the source
|
| 7 |
+
repository history. Original copyright and license notices remain applicable.
|
| 8 |
+
See docs/PROVENANCE.md for source snapshot details.
|
| 9 |
+
|
| 10 |
+
The upstream project and MicroDuck robot assets are copyright their respective
|
| 11 |
+
contributors and are used under their published licenses.
|
| 12 |
+
|
| 13 |
+
The swing-seat generator, retention components, and experiment-specific
|
| 14 |
+
training/evaluation additions were developed for the original MicroDuck Playground repository.
|
| 15 |
+
|
| 16 |
+
Software: Apache License 2.0.
|
| 17 |
+
3D hardware design files: Creative Commons Attribution-NonCommercial-
|
| 18 |
+
ShareAlike 4.0 International (CC BY-NC-SA 4.0), following the upstream
|
| 19 |
+
repository's hardware-file licensing convention. See LICENSE-HARDWARE.
|
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- reinforcement-learning
|
| 7 |
+
- robotics
|
| 8 |
+
- mujoco
|
| 9 |
+
- microduck
|
| 10 |
+
- ppo
|
| 11 |
+
- onnx
|
| 12 |
+
model-index:
|
| 13 |
+
- name: MicroDuck Running
|
| 14 |
+
results: []
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# MicroDuck Running
|
| 18 |
+
|
| 19 |
+
A PPO locomotion policy for the 14-actuator MicroDuck biped, trained in MuJoCo Warp through mjlab. The final policy achieves **1.50 m/s mean body-forward speed** in simulation at a 2.0 m/s command. **The sustained 2.0 m/s goal was not met.**
|
| 20 |
+
|
| 21 |
+
This release includes the normalized ONNX policy, the final training checkpoint, a simulation video, and evaluation measurements. It is a simulation research checkpoint; hardware performance has not been evaluated for this release.
|
| 22 |
+
|
| 23 |
+
## Watch the policy
|
| 24 |
+
|
| 25 |
+
<video controls src="run.mp4" width="720"></video>
|
| 26 |
+
|
| 27 |
+
[Download the 10-second replay](run.mp4). The replay uses the final checkpoint, seed 123, one simulated robot, and a 2.0 m/s forward command. A single replay does not establish population-level reliability; see the evaluations below.
|
| 28 |
+
|
| 29 |
+
## Measured results
|
| 30 |
+
|
| 31 |
+
All results below use a 2.0 m/s forward command with zero commanded lateral and yaw velocity. Each evaluation uses 512 parallel environments and excludes a one-second warm-up from speed measurements.
|
| 32 |
+
|
| 33 |
+
| Metric | Three 10-second evaluations | 30-second evaluation |
|
| 34 |
+
|---|---:|---:|
|
| 35 |
+
| Mean body-forward speed | 1.499 m/s | 1.499 m/s |
|
| 36 |
+
| Mean straight-progress speed | 1.234 m/s | See raw evaluation |
|
| 37 |
+
| Survival | 96.74% | 91.21% |
|
| 38 |
+
|
| 39 |
+
The short evaluations use seeds 123, 456, and 789; the long evaluation uses seed 456. These are simulation measurements, not hardware results or instantaneous peak speeds. Survival uses the evaluator's 70-degree fall-tilt threshold; it does not establish safe hardware operation.
|
| 40 |
+
|
| 41 |
+
The policy drifts in heading. Body-forward speed measures motion along the robot's changing forward axis; straight progress measures motion along its initial heading and penalizes failed trajectories. This difference matters when comparing running speed with useful straight-line travel. The evaluation uses `VelocityCommandCommandOnly`, without an external heading-hold controller.
|
| 42 |
+
|
| 43 |
+
The acceptance criterion was at least 2.0 m/s mean body-forward speed with at least 95% survival across the short evaluations, plus at least 2.0 m/s and 90% survival in the long evaluation. **`target_met` is false.** Raw measurements are in [evaluation/](evaluation/), including [the aggregate result](evaluation/result.json).
|
| 44 |
+
|
| 45 |
+
## Release contents
|
| 46 |
+
|
| 47 |
+
| File | Purpose |
|
| 48 |
+
|---|---|
|
| 49 |
+
| `policy.onnx` | Inference policy exported with observation normalization baked in |
|
| 50 |
+
| `model_10998.pt` | Final PPO checkpoint; requires the matching training code |
|
| 51 |
+
| `run.mp4` | Ten-second simulation replay |
|
| 52 |
+
| `evaluation/*.json` | Per-seed, long-rollout, and aggregate measurements |
|
| 53 |
+
| `SHA256SUMS.txt` | Release file integrity hashes |
|
| 54 |
+
| `LICENSE`, `NOTICE`, `LICENSE-HARDWARE` | License and attribution notices |
|
| 55 |
+
|
| 56 |
+
## Inference interface
|
| 57 |
+
|
| 58 |
+
- Control frequency: **50 Hz**.
|
| 59 |
+
- Actor observation: **61 values**, comprising 48 proprioceptive values and a 13-value command block: twist (3), head pose (4), body pose (6).
|
| 60 |
+
- Action output: **14 values**. These require the matching runtime's action scaling, joint order, and actuator interpretation; they are not direct motor commands.
|
| 61 |
+
- The ONNX export includes observation normalization. Do not normalize observations a second time.
|
| 62 |
+
- Preserve the matching observation definitions, command padding, joint layout, and actuator model. This policy was trained without action low-pass filtering.
|
| 63 |
+
|
| 64 |
+
With `onnxruntime` and NumPy installed, inspect the interface using:
|
| 65 |
+
|
| 66 |
+
```python
|
| 67 |
+
import onnxruntime as ort
|
| 68 |
+
|
| 69 |
+
session = ort.InferenceSession("policy.onnx", providers=["CPUExecutionProvider"])
|
| 70 |
+
print([(x.name, x.shape, x.type) for x in session.get_inputs()])
|
| 71 |
+
print([(x.name, x.shape, x.type) for x in session.get_outputs()])
|
| 72 |
+
# obs must contain correctly constructed, unnormalized runtime observations.
|
| 73 |
+
# actions = session.run(None, {session.get_inputs()[0].name: obs})[0]
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
The checkpoint is not a standalone robot controller. The matching local training package is `mjlab-microduck`, task `Mjlab-Running-Flat-MicroDuck`. A public URL for this refactored code has not yet been supplied. Upstream code provides context but is not asserted to reproduce this release exactly.
|
| 77 |
+
|
| 78 |
+
## Training
|
| 79 |
+
|
| 80 |
+
This policy was trained locally using PPO/rsl_rl, mjlab 1.3.0, MuJoCo Warp, Python 3.12, PyTorch 2.9.1, and an NVIDIA RTX 3070. The continuation used 512 environments, 24 steps per environment per update, and seed 42.
|
| 81 |
+
|
| 82 |
+
Training resumed the early `model_999.pt` policy and performed **10,000 additional PPO updates**, producing `model_10998.pt`. A gradual curriculum raised the maximum forward command to 2.0 m/s; the reward speed cap was 2.2 m/s. The training source commit was `104b1d194b82320bcb4a5df42b6d2b88f2094306` in the local refactored repository. This release selects the final checkpoint, not a best checkpoint found through a full checkpoint sweep.
|
| 83 |
+
|
| 84 |
+
## Limitations
|
| 85 |
+
|
| 86 |
+
- The achieved mean speed is below the 2.0 m/s training target.
|
| 87 |
+
- Heading drift reduces straight-line progress substantially.
|
| 88 |
+
- About 8.8% of environments failed the survival criterion over 30 seconds.
|
| 89 |
+
- Evaluation covers flat simulated terrain and the specified seeds and commands, not arbitrary terrain, disturbances, or hardware.
|
| 90 |
+
- Hardware transfer and matching-runtime validation remain outstanding.
|
| 91 |
+
|
| 92 |
+
## Attribution and licensing
|
| 93 |
+
|
| 94 |
+
The training code is an independent refactor of [Vottivott/microduck-playground](https://github.com/Vottivott/microduck-playground), based on source commit `828d950134e29a8d04cbb51720a22c8729047fb7` plus local changes, and derives from [pollen-robotics/microduck_rl](https://github.com/pollen-robotics/microduck_rl). Original contributions and copyright remain with their authors, including Hannes von Essen / Vottivott and the MicroDuck contributors.
|
| 95 |
+
|
| 96 |
+
The software license is Apache-2.0; see `LICENSE` and `NOTICE`. Upstream 3D hardware designs have a separate CC BY-NC-SA 4.0 license documented in `LICENSE-HARDWARE`. No hardware design assets are included in this model release.
|
SHA256SUMS.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
6bbd6dc4b93e1738f46ff4f341726e47f00e869c8f2ec166649caa13244b80cb evaluation/final-long.json
|
| 2 |
+
2868b2827448d4834ecc8dbcbd829e962c8c30c41df2d986ccbfcfa8a0f3474f evaluation/final-seed123.json
|
| 3 |
+
652e44c1de36b766f75575ab7d279c792edb5ff1d390acd69a14c32e362331a9 evaluation/final-seed456.json
|
| 4 |
+
1c5f422d42505d837c8a8835ca8e918345283589fa2cf55189317ba459c49a9e evaluation/final-seed789.json
|
| 5 |
+
ddf7fa7de09ce783acacebb330b751e36920e6e82f1b4ddb436f0c516b82b918 evaluation/result.json
|
| 6 |
+
2d3fd9ffffa70a4307498ec630b14a6b4731e010f8ddda92686eaf65733c2dfe LICENSE
|
| 7 |
+
06e399b1e287641708114bc13529a9c93261a3c359085f776ffd419812b5f936 LICENSE-HARDWARE
|
| 8 |
+
b7821ff51c014b2b31f0fb0d1871cb93c05811adfcbc2661cfec5db9b0b5951b model_10998.pt
|
| 9 |
+
fa7e9d24f07049b1c66beb0460ca162d066e7f2b083e66ae3e953da6dd4d9c4f NOTICE
|
| 10 |
+
0281e6886b487a5df9760521a1c45a210b05113da03f3f3e5c894edc810d361a policy.onnx
|
| 11 |
+
47c790d4bf974e4edd7a4aeadcfeea8214b90970074f08d663c687a636c75244 README.md
|
| 12 |
+
f9df85959677cd12f3db4234dbc3d2ee6403cd56519fbccaede1eb9c59d30ae7 run.mp4
|
evaluation/final-long.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"absolute_lateral_displacement_m": {
|
| 3 |
+
"mean": 18.526641845703125,
|
| 4 |
+
"median": 19.817947387695312,
|
| 5 |
+
"p90": 32.625553131103516
|
| 6 |
+
},
|
| 7 |
+
"actor_observation_dim": 61,
|
| 8 |
+
"checkpoint": "model_10998.pt",
|
| 9 |
+
"command_speed_mps": 2.0,
|
| 10 |
+
"duration_s": 30.0,
|
| 11 |
+
"final_absolute_heading_error_deg": {
|
| 12 |
+
"mean": 87.38008537283385,
|
| 13 |
+
"median": 84.69948884060314,
|
| 14 |
+
"p90": 160.09187505020174
|
| 15 |
+
},
|
| 16 |
+
"flight_events_per_second": 7.028835773468018,
|
| 17 |
+
"flight_fraction": 0.6389064788818359,
|
| 18 |
+
"forward_speed_mps": {
|
| 19 |
+
"clean_survivor_mean": 1.497441291809082,
|
| 20 |
+
"mean": 1.4990968704223633,
|
| 21 |
+
"median": 1.5237702131271362,
|
| 22 |
+
"p10": 1.3423871994018555,
|
| 23 |
+
"p90": 1.619022250175476
|
| 24 |
+
},
|
| 25 |
+
"heading_controller": "VelocityCommandCommandOnly",
|
| 26 |
+
"initial_heading_displacement_speed_mps": {
|
| 27 |
+
"mean": 0.6058936715126038,
|
| 28 |
+
"median": 0.6276978254318237,
|
| 29 |
+
"p10": -0.2204008847475052
|
| 30 |
+
},
|
| 31 |
+
"max_tilt_deg_median": 19.318693171118948,
|
| 32 |
+
"mean_absolute_heading_error_deg": 56.799149628341524,
|
| 33 |
+
"mean_absolute_lateral_speed_mps": 0.10739298909902573,
|
| 34 |
+
"mean_absolute_yaw_rate_radps": 1.4589488506317139,
|
| 35 |
+
"num_envs": 512,
|
| 36 |
+
"seed": 456,
|
| 37 |
+
"straight_progress_speed_mps": {
|
| 38 |
+
"mean": 0.6023264527320862,
|
| 39 |
+
"median": 0.6251664757728577,
|
| 40 |
+
"p10": -0.2536446452140808
|
| 41 |
+
},
|
| 42 |
+
"survival_fraction": 0.912109375,
|
| 43 |
+
"task_id": "Mjlab-Running-Flat-MicroDuck"
|
| 44 |
+
}
|
evaluation/final-seed123.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"absolute_lateral_displacement_m": {
|
| 3 |
+
"mean": 4.7902607917785645,
|
| 4 |
+
"median": 4.361053466796875,
|
| 5 |
+
"p90": 9.242082595825195
|
| 6 |
+
},
|
| 7 |
+
"actor_observation_dim": 61,
|
| 8 |
+
"checkpoint": "model_10998.pt",
|
| 9 |
+
"command_speed_mps": 2.0,
|
| 10 |
+
"duration_s": 10.0,
|
| 11 |
+
"final_absolute_heading_error_deg": {
|
| 12 |
+
"mean": 50.147139603206895,
|
| 13 |
+
"median": 43.680541893281436,
|
| 14 |
+
"p90": 102.89865765769633
|
| 15 |
+
},
|
| 16 |
+
"flight_events_per_second": 7.060634136199951,
|
| 17 |
+
"flight_fraction": 0.6389680504798889,
|
| 18 |
+
"forward_speed_mps": {
|
| 19 |
+
"clean_survivor_mean": 1.498811960220337,
|
| 20 |
+
"mean": 1.4987027645111084,
|
| 21 |
+
"median": 1.5198016166687012,
|
| 22 |
+
"p10": 1.3502960205078125,
|
| 23 |
+
"p90": 1.6200671195983887
|
| 24 |
+
},
|
| 25 |
+
"heading_controller": "VelocityCommandCommandOnly",
|
| 26 |
+
"initial_heading_displacement_speed_mps": {
|
| 27 |
+
"mean": 1.1756470203399658,
|
| 28 |
+
"median": 1.274877905845642,
|
| 29 |
+
"p10": 0.7284356951713562
|
| 30 |
+
},
|
| 31 |
+
"max_tilt_deg_median": 17.23110732300708,
|
| 32 |
+
"mean_absolute_heading_error_deg": 26.70739203220552,
|
| 33 |
+
"mean_absolute_lateral_speed_mps": 0.10519511997699738,
|
| 34 |
+
"mean_absolute_yaw_rate_radps": 1.4563381671905518,
|
| 35 |
+
"num_envs": 512,
|
| 36 |
+
"seed": 123,
|
| 37 |
+
"straight_progress_speed_mps": {
|
| 38 |
+
"mean": 1.2285314798355103,
|
| 39 |
+
"median": 1.3408124446868896,
|
| 40 |
+
"p10": 0.7291788458824158
|
| 41 |
+
},
|
| 42 |
+
"survival_fraction": 0.966796875,
|
| 43 |
+
"task_id": "Mjlab-Running-Flat-MicroDuck"
|
| 44 |
+
}
|
evaluation/final-seed456.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"absolute_lateral_displacement_m": {
|
| 3 |
+
"mean": 4.850092887878418,
|
| 4 |
+
"median": 4.641942501068115,
|
| 5 |
+
"p90": 9.151276588439941
|
| 6 |
+
},
|
| 7 |
+
"actor_observation_dim": 61,
|
| 8 |
+
"checkpoint": "model_10998.pt",
|
| 9 |
+
"command_speed_mps": 2.0,
|
| 10 |
+
"duration_s": 10.0,
|
| 11 |
+
"final_absolute_heading_error_deg": {
|
| 12 |
+
"mean": 48.762564635796934,
|
| 13 |
+
"median": 41.127632332489526,
|
| 14 |
+
"p90": 98.61620418017921
|
| 15 |
+
},
|
| 16 |
+
"flight_events_per_second": 7.028905868530273,
|
| 17 |
+
"flight_fraction": 0.6373339891433716,
|
| 18 |
+
"forward_speed_mps": {
|
| 19 |
+
"clean_survivor_mean": 1.4947463274002075,
|
| 20 |
+
"mean": 1.4943912029266357,
|
| 21 |
+
"median": 1.5171191692352295,
|
| 22 |
+
"p10": 1.3179749250411987,
|
| 23 |
+
"p90": 1.6167409420013428
|
| 24 |
+
},
|
| 25 |
+
"heading_controller": "VelocityCommandCommandOnly",
|
| 26 |
+
"initial_heading_displacement_speed_mps": {
|
| 27 |
+
"mean": 1.17378830909729,
|
| 28 |
+
"median": 1.2443361282348633,
|
| 29 |
+
"p10": 0.7380818724632263
|
| 30 |
+
},
|
| 31 |
+
"max_tilt_deg_median": 17.19205400888024,
|
| 32 |
+
"mean_absolute_heading_error_deg": 26.77567684843272,
|
| 33 |
+
"mean_absolute_lateral_speed_mps": 0.10666482895612717,
|
| 34 |
+
"mean_absolute_yaw_rate_radps": 1.453669786453247,
|
| 35 |
+
"num_envs": 512,
|
| 36 |
+
"seed": 456,
|
| 37 |
+
"straight_progress_speed_mps": {
|
| 38 |
+
"mean": 1.2263376712799072,
|
| 39 |
+
"median": 1.3074625730514526,
|
| 40 |
+
"p10": 0.7286775708198547
|
| 41 |
+
},
|
| 42 |
+
"survival_fraction": 0.966796875,
|
| 43 |
+
"task_id": "Mjlab-Running-Flat-MicroDuck"
|
| 44 |
+
}
|
evaluation/final-seed789.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"absolute_lateral_displacement_m": {
|
| 3 |
+
"mean": 4.681394577026367,
|
| 4 |
+
"median": 4.352655410766602,
|
| 5 |
+
"p90": 9.00128173828125
|
| 6 |
+
},
|
| 7 |
+
"actor_observation_dim": 61,
|
| 8 |
+
"checkpoint": "model_10998.pt",
|
| 9 |
+
"command_speed_mps": 2.0,
|
| 10 |
+
"duration_s": 10.0,
|
| 11 |
+
"final_absolute_heading_error_deg": {
|
| 12 |
+
"mean": 47.76244052619948,
|
| 13 |
+
"median": 39.6086631478758,
|
| 14 |
+
"p90": 102.50868800703446
|
| 15 |
+
},
|
| 16 |
+
"flight_events_per_second": 7.076333045959473,
|
| 17 |
+
"flight_fraction": 0.6413412094116211,
|
| 18 |
+
"forward_speed_mps": {
|
| 19 |
+
"clean_survivor_mean": 1.5066399574279785,
|
| 20 |
+
"mean": 1.5052788257598877,
|
| 21 |
+
"median": 1.5286027193069458,
|
| 22 |
+
"p10": 1.3462433815002441,
|
| 23 |
+
"p90": 1.6294121742248535
|
| 24 |
+
},
|
| 25 |
+
"heading_controller": "VelocityCommandCommandOnly",
|
| 26 |
+
"initial_heading_displacement_speed_mps": {
|
| 27 |
+
"mean": 1.1924302577972412,
|
| 28 |
+
"median": 1.284983515739441,
|
| 29 |
+
"p10": 0.746199369430542
|
| 30 |
+
},
|
| 31 |
+
"max_tilt_deg_median": 17.152648940011144,
|
| 32 |
+
"mean_absolute_heading_error_deg": 25.942588430082512,
|
| 33 |
+
"mean_absolute_lateral_speed_mps": 0.10692678391933441,
|
| 34 |
+
"mean_absolute_yaw_rate_radps": 1.4713090658187866,
|
| 35 |
+
"num_envs": 512,
|
| 36 |
+
"seed": 789,
|
| 37 |
+
"straight_progress_speed_mps": {
|
| 38 |
+
"mean": 1.2472805976867676,
|
| 39 |
+
"median": 1.3480452299118042,
|
| 40 |
+
"p10": 0.7459363341331482
|
| 41 |
+
},
|
| 42 |
+
"survival_fraction": 0.96875,
|
| 43 |
+
"task_id": "Mjlab-Running-Flat-MicroDuck"
|
| 44 |
+
}
|
evaluation/result.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "model_10998.pt",
|
| 3 |
+
"mean_body_forward_speed_mps": 1.499457597732544,
|
| 4 |
+
"mean_survival_fraction": 0.9674479166666666,
|
| 5 |
+
"mean_straight_progress_speed_mps": 1.234049916267395,
|
| 6 |
+
"long_rollout_speed_mps": 1.4990968704223633,
|
| 7 |
+
"long_rollout_survival_fraction": 0.912109375,
|
| 8 |
+
"target_met": false,
|
| 9 |
+
"criterion": "Mean body-forward speed >=2.0 m/s with >=95% survival across three 10-second seeds, plus >=2.0 m/s and >=90% survival in a 30-second rollout. Straight-line speed is reported separately."
|
| 10 |
+
}
|
model_10998.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7821ff51c014b2b31f0fb0d1871cb93c05811adfcbc2661cfec5db9b0b5951b
|
| 3 |
+
size 4843527
|
policy.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0281e6886b487a5df9760521a1c45a210b05113da03f3f3e5c894edc810d361a
|
| 3 |
+
size 793809
|
run.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9df85959677cd12f3db4234dbc3d2ee6403cd56519fbccaede1eb9c59d30ae7
|
| 3 |
+
size 3683740
|