I use pip install smplx[all] to install smplx,and try to use it in SPIN(https://github.com/nkolot/SPIN), but there is an error.
(base) ubuntu@ubuntu-C246-WU4:~/mahui/SPIN$ python3 demo.py --checkpoint=data/model_checkpoint.pt --img=examples/im1010.jpg --openpose=examples/im1010_openpose.json
Traceback (most recent call last):
File "demo.py", line 34, in
from models import hmr, SMPL
File "/home/ubuntu/mahui/SPIN/models/init.py", line 2, in
from .smpl import SMPL
File "/home/ubuntu/mahui/SPIN/models/smpl.py", line 5, in
from smplx.body_models import ModelOutput
ImportError: cannot import name 'ModelOutput' from 'smplx.body_models' (/home/ubuntu/anaconda3/lib/python3.7/site-packages/smplx/body_models.py)
I use
pip install smplx[all]
to install smplx,and try to use it in SPIN(https://github.com/nkolot/SPIN), but there is an error.(base) ubuntu@ubuntu-C246-WU4:~/mahui/SPIN$ python3 demo.py --checkpoint=data/model_checkpoint.pt --img=examples/im1010.jpg --openpose=examples/im1010_openpose.json Traceback (most recent call last): File "demo.py", line 34, in
from models import hmr, SMPL
File "/home/ubuntu/mahui/SPIN/models/init.py", line 2, in
from .smpl import SMPL
File "/home/ubuntu/mahui/SPIN/models/smpl.py", line 5, in
from smplx.body_models import ModelOutput
ImportError: cannot import name 'ModelOutput' from 'smplx.body_models' (/home/ubuntu/anaconda3/lib/python3.7/site-packages/smplx/body_models.py)