tadax / srgan

SRGAN implemetation with TensorFlow
83 stars 31 forks source link

NPZ File Required while running the transfer model demo #16

Closed ashwath98 closed 1 year ago

ashwath98 commented 1 year ago

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?