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

如何生成更长时长的视频? #111

Open
StanSi opened this issue Jan 3, 2025 · 3 comments
Open

如何生成更长时长的视频? #111

StanSi opened this issue Jan 3, 2025 · 3 comments

Comments

@StanSi
Copy link

StanSi commented Jan 3, 2025

3090,24G,目前能生成15秒左右的视频。已经看过所有的issue,修改了app.py和infer.py两个脚本中关于姿势的部分,改成了循环索引。使用超过20秒的视频就不能生成视频了,会出错显存不够。出错提示中的PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True已经设置了。请问还有什么方法可以生成更长时长的视频,想试试生成10分钟的视频,可以接受生成时间久。

@nan3958
Copy link

nan3958 commented Jan 9, 2025

同求啊,可以长时间挂着,楼主找到好办法了不

@Buliqioqiolibusdo
Copy link

动作包只有336个文件,24帧只能生成14s视频

@StanSi
Copy link
Author

StanSi commented Jan 9, 2025

动作包只有336个文件,24帧只能生成14s视频
已经改了app.py和infer.py两个文件中关于姿势索引的地方,改成循环索引姿势了。参考了issues: #58 #30
我还试过把动作文件复制一份,重新编号,一共336*2个文件,还是不能生成更长的视频。

@mengrang mengrang added doing and removed doing labels Jan 10, 2025
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

4 participants