- Go to the SMPL project page and Sign In.
- Go to the section Downloads, and get the 1.0.0 SMPL version for Python2.7.
- Rename
basicModel_f_lbs_10_207_0_v1.0.0.pkl
toSMPL_FEMALE.pkl
andbasicmodel_m_lbs_10_207_0_v1.0.0.pkl
toSMPL_MALE.pkl
then, move the files to data/smpl/ folder.
- 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
- 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