Xavi Puig commited on
Commit
8abd43e
β€’
1 Parent(s): dee61a5

added readme

Browse files
Files changed (2) hide show
  1. README.md +52 -1
  2. walk_motion/CMU_10_04_stageii.npz +3 -0
README.md CHANGED
@@ -1,3 +1,54 @@
1
  ---
2
- license: cc-by-sa-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-nc-4.0
3
  ---
4
+ # Habitat Humanoids
5
+
6
+ Habitat 3.0 provides support for diverse humanoid avatars, displaying different shapes an motions. Avatars are based on the [SMPL-X](https://smpl-x.is.tue.mpg.de/) body model format, a commonly used data-driven parametric human body model that provides a compact representation of 3D human shape and pose.
7
+
8
+ This repository provides a set of stand-alone avatars and motion files to represent humanoids walking and reaching to objects in the Habitat simulator. However, you can also generate new humanoids using the SMPL-X code base, or use motions coming from motion capture or motion generation models.
9
+
10
+ ## Contents
11
+
12
+ We provide a total of 12 textured avatars of neutral, female and male gender and covering different body shapes. For each avatar, we provide a motion file that allows to drive the avatar to walk in a scene, or reach out to objects, using a [controller](https://github.com/facebookresearch/habitat-lab/blob/main/habitat-lab/habitat/articulated_agent_controllers/humanoid_rearrange_controller.py).
13
+
14
+ The folder structure is as follows:
15
+
16
+ ```
17
+ β”œβ”€β”€ habitat_humanoids
18
+ β”‚ β”œβ”€β”€ neutral_0
19
+ | | β”œβ”€β”€ neutral_0.ao_config.json
20
+ | | β”œβ”€β”€ neutral_0.glb
21
+ | | β”œβ”€β”€ neutral_0_motion_data_smplx.pkl
22
+ | | β”œβ”€β”€ neutral_0.urdf
23
+ β”‚ β”œβ”€β”€ *
24
+ β”‚ β”œβ”€β”€ walk_motion
25
+ β”‚ | β”œβ”€β”€ CMU_10_04_stageii.npz
26
+ ```
27
+
28
+ Where neutral_0 corresponds to the folder of one of the textured avatars.
29
+
30
+ - `neutral_0.ao_config.json`: contains a dictionary with information on how to link the avatar armature and skinning, and the semantic id of the avatar, when using a semantic sensor.
31
+ - `neutral_0.glb`: contains the skinning and texture information.
32
+ - `neutral_0_motion_data_smplx.pkl`: contains relevant motion data files, more information below.
33
+ - `neutral_0.urdf`: contains the armature, built automatically from the SMPL-X body model.
34
+ - `walk_motion/CMU_10_04_stageii.npz`: contains a clip file from AMASS, used to build our motion file.
35
+
36
+ ### Motion Data File
37
+
38
+ For each avatar, we provide a dictionary stored in `*_motion_data_smplx.pkl` which contains information to animate the character to walk around a scene and reach out to different positions.In particular, the dictionary contains 3 keys to store this information.
39
+
40
+ - `walk_motion`: contains a 130 frame clip of a person performing a walking cycle. In particular, the clip corresponds to the frames 300-430 of the file `CMU/10/10_04_stageii.npz` from AMASS dataset. We provide the raw data in this repository, released under a license detailed below.
41
+ - `stop_pose`: contains a standing position, taken from s single frame from the motion clip above mentioned.
42
+ - `left_hand`: Contains a grid of poses 48 generated using [VPoser](https://github.com/nghorbani/human_body_prior), where each pose is optimized to reach a given poisition in 3D. In [HumanoidRearrangeController](https://github.com/facebookresearch/habitat-lab/blob/main/habitat-lab/habitat/articulated_agent_controllers/humanoid_rearrange_controller.py), we provide code to interpolate over these poses to reach multiple 3D positions.
43
+ - `right_hand`: Contains the same grid of poses to reach positions with the *right hand*.
44
+
45
+
46
+ ## Usage
47
+
48
+ Clone this file under `data/`. We provide several files in the [habitat-lab repository](https://github.com/facebookresearch/habitat-lab) to instantiate and move the avatars around the scene.
49
+
50
+ ## License
51
+
52
+ The 12 provided avatars, along with their textures, and the reaching positions stored in `left_hand` and `right_hand` are released under a CC-BY-NC 4.0 License.
53
+
54
+ The motion data stored in `walk_motion` and `stop_pose`, as well as the original file `CMU_10_04_stageii.npz` is released under the [SMPL Body Motion File License](https://smpl.is.tue.mpg.de/bodylicense.html), a Creative Commons Attribution 4.0 International License. For support or inquiries about more SMPL Body Mo.on Files for commercial use, please contact [email protected].
walk_motion/CMU_10_04_stageii.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56c3381330af8e9d07d83fd067b76a5ba3f3ea873398b48b1e77d4b2b4f6895d
3
+ size 1469179