# Motion Filter Implementation

The motion filter implementation is adapted from the official [IPMAN codebase [1]](https://github.com/sha2nkt/ipman-r).

[1] 3D Human Pose Estimation via Intuitive Physics.

## Install

```
conda create -n motion_filter python=3.7
pip install -U pip
pip install torch==1.1.0 torchvision==0.3.0
pip install neural-renderer-pytorch
pip install -r requirements.txt
```

## Fetch Data

```
chmod +x fetch_data.sh
./fetch_data.sh
```

## Demo

```
python utils/motion_filter.py --folder <path_to_motions> --convert_rot True
```
- If motions are y-up, set `--convert_rot False`