Preprocess PROX data for pose and motion generation in indoor scenes
February 7, 2023 ยท View on GitHub
Data preparation
-
Download original PROX data, contaning scene meshes, camera data, and so on. And they are organized as follows:
-| $YOUR_PATH/PROX/ ---| body_segments/ ---| cam2world/ ---| scenes/ ---| sdf/ ---| preprocess_scenes/preprocess_scenes/are pre-processed scenes that are used for models. You can generate these with the following instruction or just use our pre-processed results.- Other folders are directly downloaded from PROX.
- The path of PROX is specified by
dataset.prox_dirin./configs/task/pose_gen.yamlor./configs/task/motion_gen.yaml.
-
Download LEMO data, which will be used as ground truth of the pose and motion.
- The path of LEMO is specified by
dataset.data_dirin./configs/task/pose_gen.yamlor./configs/task/motion_gen.yaml.
- The path of LEMO is specified by
-
Download SMPL-X weights.
- The path of SMPL-X is specified by
dataset.smpl_dirin./configs/task/pose_gen.yamlor./configs/task/motion_gen.yaml.
- The path of SMPL-X is specified by
-
Download VPoser weights. (Optional)
- VPoser is optional for optimization guidance. We don't use this in our default setting.
- The path of VPoser is specified by
dataset.vposer_dirin./configs/task/pose_gen.yamlor./configs/task/motion_gen.yaml.
Preprocess the scene to point cloud
-
Change the folder path configuration in
preprocessing/prox/prox_scene.py, i.e.,scene_dirof original PROX data folder andpreprocess_scenes_dirused to save processed scene point cloud.Notes: you also need to change the data path in configuration, i.e.,
*.yamlfiles, for training and evaluation. -
Execute to process prox scenes:
cd preprocessing/prox python prox_scene.py