benjiebob / SMALify

This repository contains an implementation for performing 3D animal (quadruped) reconstruction from a monocular image or video. The system adapts the pose (limb positions) and shape (animal type/height/weight) parameters for the SMAL deformable quadruped model, as well as camera parameters until the projected SMAL model aligns with 2D keypoints and silhouette segmentations extracted from the input frame(s).
106 stars 18 forks source link

subtle confusion on what needs to be downloaded from SMPL website #3

Closed monajalal closed 3 years ago

monajalal commented 3 years ago

Hi Benjamin,

Awesome code repo and great documentation so far.

However, since there is a bunch of downloadable things from SMPL website, would be best to add what needs to be downloaded.

Also, I guess smal folder inside data was missing in the repo (I did mkdir smal -- telling it since I saw you had folder for other things).

smpl_download

For example,

Is this the correct structure? tree_smalify

monajalal commented 3 years ago

the smpl after extraction has these folders: smpl$ ls total 28K -rw-r--r-- 1 mona mona 535 Dec 9 2015 init.py drwxr-xr-x 2 mona mona 4.0K Dec 11 2015 models -rw-r--r-- 1 mona mona 6.1K Dec 11 2015 .DS_Store drwxr-xr-x 3 mona mona 4.0K Dec 12 2015 smpl_webuser drwxr-xr-x 4 mona mona 4.0K Dec 12 2015 . drwxrwxr-x 5 mona mona 4.0K Oct 1 00:49 ..

you need to move smpl_webuser to smal_model folder

benjiebob commented 3 years ago

Yep, that's right. As detailed in the README, important to move smpl_webuser to the smal_folder. If it helps, this is the tree under smpl_webuser:

(/hpc/user_apps/bjb10042/smalify) [bjb10042@uptus095-4 SMALify]$ tree smal_model/smpl_webuser/
smal_model/smpl_webuser/
├── hello_world
│   ├── hello_smpl.py
│   └── render_smpl.py
├── __init__.py
├── lbs.py
├── LICENSE.txt
├── posemapper.py
├── __pycache__
│   ├── __init__.cpython-36.pyc
│   ├── lbs.cpython-36.pyc
│   ├── posemapper.cpython-36.pyc
│   ├── serialization.cpython-36.pyc
│   └── verts.cpython-36.pyc
├── README.txt
├── serialization.py
└── verts.py

2 directories, 14 files
benjiebob commented 3 years ago

SMPL dependency is now removed. https://github.com/benjiebob/SMALify/issues/6#issuecomment-702278462