Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 1.24 KB

getting_started.md

File metadata and controls

34 lines (31 loc) · 1.24 KB

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
    pip install -r requirements.txt
    Or create a separate virtual environment by running:
    bash install_conda.sh
    or
    bash install_pip.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.

Pre-trained model and 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