ChenFengYe / motion-latent-diffusion

[CVPR 2023] Executing your Commands via Motion Diffusion in Latent Space, a fast and high-quality motion diffusion model
https://chenxin.tech/mld/
MIT License
560 stars 49 forks source link

Visualize SMPL #14

Open wang-zm18 opened 1 year ago

wang-zm18 commented 1 year ago

Thanks for nice woel! I have tried to visualize smpl by appling SMPLify to 3D coordinates to SMPL parameters, and 6890 vertices' coordinares according to your instuctions. However, the final results is shown as follows:

frame_0000

I guess the problem may be: the vertices of my npy file is 6890 (SMPL), however, the face applied here is smplh? Thank you in advance!

ChenFengYe commented 1 year ago

Hi, we provide the face file in our visualization here. (unzip to get smpl.face) You can try to solve this error with our face file.

Please open the ply file to check the results. This error could also happen when you use unmatch vertices (re-sort) or faces. You can also save your own faces file inside of ours.

https://github.com/ChenFengYe/motion-latent-diffusion/blob/d6c5ca74af2cf6be4523dc7130d1675b684f595c/mld/render/blender/meshes.py#L22

smplh.zip

wang-zm18 commented 1 year ago

Ok, thank you! I will have a try!

Chen Xin @.***> 于2023年3月9日周四 19:56写道:

Hi, we provide the face file in our visualization here. (unzip to get smpl.face) You can try to solve this error with our face file.

Please open the ply file to check the results. This error could also happen when you use unmatch vertices (re-sort) or faces. You can also save your own faces file inside of ours.

https://github.com/ChenFengYe/motion-latent-diffusion/blob/d6c5ca74af2cf6be4523dc7130d1675b684f595c/mld/render/blender/meshes.py#L22

smplh.zip https://github.com/ChenFengYe/motion-latent-diffusion/files/10931052/smplh.zip

— Reply to this email directly, view it on GitHub https://github.com/ChenFengYe/motion-latent-diffusion/issues/14#issuecomment-1461898276, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALL6UZ6MCLIACAOWCX5VQGDW3HAOTANCNFSM6AAAAAAVSRMO5A . You are receiving this because you authored the thread.Message ID: @.***>

Mirgahney commented 5 months ago

Thanks a lot! @ChenFengYe I had the same question, but I used the faces files you provided and now it's working.