EricGuo5513 / momask-codes

Official implementation of "MoMask: Generative Masked Modeling of 3D Human Motions (CVPR2024)"
https://ericguo5513.github.io/momask/
MIT License
690 stars 56 forks source link

Motion sequence length #54

Closed erlingling closed 2 weeks ago

erlingling commented 2 weeks ago

Thanks for sharing! What I want to know is how the length of the motion sequence generated by this method is determined, unlike the diffusion model?

Murrol commented 2 weeks ago

If I'm not wrong, diffusion models like MDM also pre-set the motion length.

erlingling commented 2 weeks ago

Thanks for your answering, can I follow up and ask if the length of the motion sequence is determined by the user's input prompt, or is the length of the sequence generated by any prompt fixed, i.e. equal to the preset value?

Murrol commented 2 weeks ago

It could be determined by users. See https://github.com/GuyTevet/motion-diffusion-model/blob/main/sample/generate.py#L89 https://github.com/GuyTevet/motion-diffusion-model/blob/main/sample/generate.py#L186