Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

long action sequence #15

Open
liloewe opened this issue Jul 22, 2024 · 2 comments
Open

long action sequence #15

liloewe opened this issue Jul 22, 2024 · 2 comments

Comments

@liloewe
Copy link

liloewe commented Jul 22, 2024

Hello, author, how to generate a long action sequence?

@exitudio
Copy link
Owner

exitudio commented Jul 22, 2024

Hi,
We have created sample codes and visualizations in the edit.ipynb notebook. Please refer to the 'Long Range' section in edit.ipynb. The model requires a list of text and the number of frames for each text.

text = ['a person walks forward then turn left.',
      'a person crawling from left to right',
      'a person dribbles a basketball then shoots it.',
      'the person is walking in a counter counterclockwise circle.',
      'a person is sitting in a chair, wobbles side to side, stands up, and then start walking.']
m_length = torch.tensor([192, 196,  84, 164, 196])
pred_pose = mmm.long_range(text, m_length.cuda(), output='concat')

@liloewe
Copy link
Author

liloewe commented Jul 22, 2024

您好,我们在 中创建了示例代码和可视化效果。请参阅 中的“长距离”部分。该模型需要一个文本列表和每个文本的帧数。edit.ipynb notebook``edit.ipynb

text = ['a person walks forward then turn left.',
      'a person crawling from left to right',
      'a person dribbles a basketball then shoots it.',
      'the person is walking in a counter counterclockwise circle.',
      'a person is sitting in a chair, wobbles side to side, stands up, and then start walking.']
m_length = torch.tensor([192, 196,  84, 164, 196])
pred_pose = mmm.long_range(text, m_length.cuda(), output='concat')

Thank you. It worked very well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants