silviazuffi / smalst

MIT License
163 stars 24 forks source link

Why 'posedirs' is all 0.? #29

Open masataka46 opened 3 years ago

masataka46 commented 3 years ago

Hello Silvia, Thank you for the code you have created. However, I have a question when I am running the learning. I think 'posedirs' in 'my_smpl_00781_4_all.pkl' is used to generate poses, but this value is all 0. Then, I think that the generated pose will match the T-bone. During training, class variable 'self.posedirs' is also set to 0. How do you generate the pose?

Yours sincerely, Takamitsu Omasa

silviazuffi commented 3 years ago

Hello Takamitsu,

The posedirs variable represents the pose-dependent deformations. This is not used in the SMAL model, but it is there because the model has the same structure of the SMPL model for the human body. 3D pose is represented by the variable ‘pose’.

Best,

Silvia

On 23. Oct 2021, at 09:31, Takamitsu Omasa @.***> wrote:

Hello Silvia, Thank you for the code you have created. However, I have a question when I am running the learning. I think 'posedirs' in 'my_smpl_00781_4_all.pkl' is used to generate poses, but this value is all 0. Then, I think that the generated pose will match the T-bone. During training, class variable 'self.posedirs' is also set to 0. How do you generate the pose?

Yours sincerely, Takamitsu Omasa

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/silviazuffi/smalst/issues/29, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNYVFKOCM7WFF2CNVBDERTUIJQD7ANCNFSM5GR66CMA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

masataka46 commented 3 years ago

Thank you for your answer. I now understand why the variable 'posedirs' is not used. And I also understand the variables 'poses' and 'weights' to recover the coordinates of the vertices from the poses. Thank you.