Getting started
Start by cloning the repo:
git clone https://github.com/YadiraF/PIXIE
cd PIXIE
Requirements
- Python 3.7 (numpy, skimage, scipy, opencv, kornia)
- PyTorch >= 1.6
You can run
Or create a separate virtual environment by running:pip install -r requirements.txt
orbash install_conda.sh
For visualization, we use our rasterizer that uses pytorch JIT Compiling Extensions. If there occurs a compiling error, you can install pytorch3d instead and set --rasterizer_type=pytorch3d when running the demos.bash install_pip.sh
Pre-trained model and data
- Register SMPL-X Model
- Register PIXIE data
bash fetch_model.sh # username & password are required
- (Optional) Follow the instructions for the Albedo model to get 'FLAME_albedo_from_BFM.npz'. Put it into
./data - (Optional) Clone and prepare DECA