Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.26 KB

File metadata and controls

35 lines (26 loc) · 1.26 KB

Setup and Installation

I - Setup models and files

Downloading the male and female SMPL models

  1. Go to the SMPL project page and Sign In.
  2. Go to the section Downloads, and get the 1.0.0 SMPL version for Python2.7.
  3. Rename basicModel_f_lbs_10_207_0_v1.0.0.pkl to SMPL_FEMALE.pkl and basicmodel_m_lbs_10_207_0_v1.0.0.pkl to SMPL_MALE.pkl then, move the files to data/smpl/ folder.

II - Installation

Case 1 - Run with Singularity (Recommended)

  • Install Singularity
  • Build the image: sudo singularity build --sandbox <image-name> dfm.def
  • Run the image in writable mode with: sudo singularity shell -B <bind-dir> --writable <image-name>
  • Install the requirements:
source activate env
pip install -r requirements.txt 

Case 2 - Run with Conda

  • Install Conda
  • Install the dependencies:
conda create -n env python=3.7
source activate env
conda install -c pytorch pytorch=1.4.0 torchvision cudatoolkit=10.1
conda install -c fvcore -c iopath -c conda-forge fvcore iopath
pip install -r requirements.txt