Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: other
|
| 3 |
-
license_name: ncsl
|
| 4 |
-
license_link: https://github.com/NVlabs/ProtoMotions/blob/main/LICENSE
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: ncsl
|
| 4 |
+
license_link: https://github.com/NVlabs/ProtoMotions/blob/main/LICENSE
|
| 5 |
+
datasets:
|
| 6 |
+
- realdream-ai/AMASS
|
| 7 |
+
- TeoGchx/HumanML3D
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Full codebase:
|
| 11 |
+
This model works with the [ProtoMotions](https://github.com/NVlabs/ProtoMotions/tree/main) environment.
|
| 12 |
+
|
| 13 |
+
# Masked Mimic -- SMPL Humanoid
|
| 14 |
+
|
| 15 |
+
<div float="center">
|
| 16 |
+
<img src="https://github.com/NVlabs/ProtoMotions/blob/main/data/pretrained_models/masked_mimic/smpl/assets/inbetweening.gif?raw=true" width="300"/>
|
| 17 |
+
</div>
|
| 18 |
+
|
| 19 |
+
# What is this?
|
| 20 |
+
|
| 21 |
+
- Pre-trained Masked Mimic agent for the SMPL (no fingers) humanoid.
|
| 22 |
+
- The goal of this model is to generate novel motions from partial constraints.
|
| 23 |
+
- It observes:
|
| 24 |
+
- Current pose
|
| 25 |
+
- 15 future poses
|
| 26 |
+
- Projected surrounding heightmap
|
| 27 |
+
- It can be constrained using:
|
| 28 |
+
- Any-joint-any-time. Any number of future states (defined via time). For each state, any subset of joints. Each joint constraint supports translation and/or rotation constraints.
|
| 29 |
+
- It predicts:
|
| 30 |
+
- Next action (PD target for each joint)
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
- Trained in IsaacLab. The model may not perform as well in IsaacGym/Genesis.
|
| 34 |
+
|
| 35 |
+
# Evaluating the model
|
| 36 |
+
To evaluate the model run the following command:
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
PYTHON_PATH protomotions/eval_agent.py +robot=smpl +simulator=isaaclab +motion_file=<path to motion file> +checkpoint=data/pretrained_models/masked_mimic/smpl/last.ckpt
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
- You should pick which `motion_file` to load.
|
| 43 |
+
- The model was trained and performs best in IsaacLab. Simulator can selected using the `simulator` flag --- performance may vary.
|
| 44 |
+
- For faster loading times use a flat terrain (config defaults to random heightmap) `+terrain=flat`.
|
| 45 |
+
|
| 46 |
+
For easy evaluation of a target-pose inbetween objective add the following flags
|
| 47 |
+
```
|
| 48 |
+
+opt=masked_mimic/constraints/no_constraint env.config.masked_mimic.masked_mimic_masking.target_pose_visible_prob=1
|
| 49 |
+
```
|
| 50 |
+
The `no_constraint` yaml file turns off all constraints. Then we only enable the target_pose visibility.
|