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

推理疑问 #133

Open
Smile-L-up opened this issue Sep 22, 2024 · 2 comments
Open

推理疑问 #133

Smile-L-up opened this issue Sep 22, 2024 · 2 comments

Comments

@Smile-L-up
Copy link

Smile-L-up commented Sep 22, 2024

感谢您开源的优秀工作,我按照流程安装环境。但是有运行的时候如下问题:
1. 直接运行python gradio_app.py 。会自动下载模型,可以推理。但是视频好像都是2s的,如何可以设置生成的视频长度呢?
2. 直接运行sh scripts/run.sh 1024 会报错,

scripts/run.sh: 11: [: 1024: unexpected operator
scripts/run.sh: 14: [: 1024: unexpected operator
scripts/run.sh: 17: [: 1024: unexpected operator
Invalid input. Please enter 256, 512, or 1024.

期待您的回复。

@Doubiiu
Copy link
Owner

Doubiiu commented Sep 22, 2024

  1. 视频长度暂时不能设置得更长,否则结果会有可能质量下降 generate a longer video #36
  2. 看起来可能是bash script和你的bash shell不是很兼容,可以尝试把run.sh中的==换成=,或者把"$1" == "256",换成"$1" -eq 256, 其余512,1024也同理,尝试一下。

@cc13qq
Copy link

cc13qq commented Oct 4, 2024

sh 改成 bash 试试

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

3 participants