EricGuo5513 / momask-codes

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

Motion sequence length #54

Closed erlingling closed 5 months ago

erlingling commented 5 months 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 5 months ago

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

erlingling commented 5 months 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 5 months 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