vchoutas / smplx

SMPL-X

Home Page:https://smpl-x.is.tue.mpg.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to generate the right NPZ file for the transfer script

ashwath98 opened this issue · comments

Hi, I need to convert SMPL Meshes to SMPLX for a comparison
I am trying to setup the script in (https://github.com/vchoutas/smplx/blob/main/tools/README.md) but am facing some issues

When I run (python write_obj.py --model-folder ../models/ --motion-file ../transfer_data/support_data/github_data/amass_sample.npz --output-folder ../transfer_data/meshes/amass_sample/)

"
AttributeError: 'Struct' object has no attribute 'hands_componentsl'"

Which I know is due to some merging that needs to be done as mentioned here (https://github.com/vchoutas/smplx/blob/main/tools/README.md)

howevever those scripts generate only pkl files and and write obj script needs an npz file

how do I get the right NPZ file?

i think you can change the extension using the --ext argument