vchoutas / smplx

SMPL-X
https://smpl-x.is.tue.mpg.de/
Other
1.73k stars 301 forks source link

MANO shape and SMPLX shape? #125

Open ZhengdiYu opened 2 years ago

ZhengdiYu commented 2 years ago

Hi,

Bug1. I think the config_files for smpl2smplx in transfer_model is not set correctly: I tried to set

    smplx:
        betas:
            num: 200
        expression:
            num: 50

and even tried to couple the below config together

    smpl:
        betas:
            num: 200
    flame:
        expression:
            num: 50

But no matter what I set, the out put of SMPLX parameter is always beta (1, 10), expression (1, 10)

Bug2. In transfer_model.py: https://github.com/vchoutas/smplx/blob/5fa20519735cceda19afed0beeabd53caef711cd/transfer_model/transfer_model.py#L382-L394 I think we should also update var_dict after line 389, otherwise the output eye pose will still be in angle-axis but others will all be in rotation-matrix format.

By the way, If I now have a mano shape parameter (1, 10). And SMPLX shape parameter (1, 200). How should I do to replace SMPLX's hand shape with mano's shape parameter, in order to replace the SMPLX's hand?

DESEOUMAIGA commented 1 year ago

Hi,

Bug1. I think the config_files for smpl2smplx in transfer_model is not set correctly: I tried to set

    smplx:
        betas:
            num: 200
        expression:
            num: 50

and even tried to couple the below config together

    smpl:
        betas:
            num: 200
    flame:
        expression:
            num: 50

But no matter what I set, the out put of SMPLX parameter is always beta (1, 10), expression (1, 10)

Bug2. In transfer_model.py:

https://github.com/vchoutas/smplx/blob/5fa20519735cceda19afed0beeabd53caef711cd/transfer_model/transfer_model.py#L382-L394

I think we should also update var_dict after line 389, otherwise the output eye pose will still be in angle-axis but others will all be in rotation-matrix format. By the way, If I now have a mano shape parameter (1, 10). And SMPLX shape parameter (1, 200). How should I do to replace SMPLX's hand shape with mano's shape parameter, in order to replace the SMPLX's hand?

Same question, how to replace smplx's hand shape with mano's shape? Did you figure it out?