This is a fork of https://github.com/cedro3/DECA with a couple bug fixes for it to work with Google Colab running Python 3.10
- Run the following code inside the colab notebook.
!pip install pip setuptools wheel --upgrade
!pip install -r requirements.txt
!pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'- Download data
- Register at https://flame.is.tue.mpg.de/register.php
- Sign in and download data form FLAME 2020 model and DECA trained model.
- Unzip FLAME2020.zip file (not the tar file)
- Copy
generic_model.pklanddeca_model.tartodatafolder
!python demos/demo_reconstruct.py -i TestSamples/examples --saveDepth True --saveObj Truedemo_reconstruct\
!python demos/demo_teaser.py
# TODO: fix errors (not currently working in colab)demo_teaser\



