Skip to content

Commit

Permalink
Add instructions for SMPL
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelite1201 committed Aug 21, 2023
1 parent 9a1eb9a commit ebf8bb1
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions data_processing/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,35 @@
# Data preprocessing

The following repository consists of code to process the data generated by Unreal into a format that could be used for training BEDLAM-CLIFF/BEDLAM-HMR. You could modify the code to support research for tracking, multi-person pose estimation etc.
The following repository consists of code to process the data generated by Unreal into a format that could be used for training BEDLAM-CLIFF/BEDLAM-HMR. You could modify the code to support research for tracking, multi-person pose estimation etc. We provide code for processing both SMPL-X and SMPL based ground truth.

## Prepare data
## Prepare data (SMPL-X)

Step 1. Register on [BEDLAM](https://bedlam.is.tue.mpg.de/) website.

Step 2. Download BEDLAM 30fps images and ground truth camera in bedlam_data/images from Synthetic Image Data (30fps) section of [BEDLAM](https://bedlam.is.tue.mpg.de/download.php). Note that only image sequences and ground truth for sequences is needed i.e. -png, -gt

Step 3. Register on [SMPL-X](https://smpl-x.is.tue.mpg.de/) website if not done already. If you want to get SMPL npz files, register on [SMPL](https://smpl.is.tue.mpg.de/)
Step 3. Register on [SMPL-X](https://smpl-x.is.tue.mpg.de/) website if not done already.

Step 4. Run following script to download SMPL-X model files and BEDLAM animation files in neutral SMPL-X format.

```
bash download_utils.sh
```
For SMPL, run following script instead:

## Prepare data (SMPL)

Step 1. Register on [BEDLAM](https://bedlam.is.tue.mpg.de/) website.

Step 2. Download BEDLAM 30fps images and ground truth camera in bedlam_data/images from Synthetic Image Data (30fps) section of [BEDLAM](https://bedlam.is.tue.mpg.de/download.php). Note that only image sequences and ground truth for sequences is needed i.e. -png, -gt

Step 3. Register on [SMPL](https://smpl.is.tue.mpg.de/) website.

Step 4. Run following script to download SMPL model files and BEDLAM animation files in neutral SMPL format.

```
bash download_utils_smpl.sh
```

## Run
Once the data is downloaded you can run the following script to generate the output `*.npz` file for each scene. If you want to generate npz for particular scenee you can modify bedlam_scene_names.csv file.

Expand Down

0 comments on commit ebf8bb1

Please sign in to comment.