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

How to output longer video? #177

Open
2022yingjie opened this issue Dec 4, 2023 · 1 comment
Open

How to output longer video? #177

2022yingjie opened this issue Dec 4, 2023 · 1 comment

Comments

@2022yingjie
Copy link

Hello, thank you for your excellent work, when I tried to modity the generate.py file and set the max_frame from 60 to 4000, it showed some error like this:
IndexError: The shape of the mask [1, 120] at index 1 does not match the shape of the indexed tensor [1, 4000, 24, 6] at index 1

Can you give me some suggestions about how to get longer video? Thank you very much~!

@GuyTevet
Copy link
Owner

GuyTevet commented Dec 5, 2023

Hi @2022yingjie , I don't know about this failure, but the model isn't naively supporting long sequences. For an MDM base solution, check out https://priormdm.github.io/priorMDM-page/

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