DynamiCrafter icon indicating copy to clipboard operation
DynamiCrafter copied to clipboard

推理疑问

Open Smile-L-up opened this issue 1 year ago • 2 comments

感谢您开源的优秀工作,我按照流程安装环境。但是有运行的时候如下问题: 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.

期待您的回复。

Smile-L-up avatar Sep 22 '24 06:09 Smile-L-up

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

Doubiiu avatar Sep 22 '24 22:09 Doubiiu

sh 改成 bash 试试

cc13qq avatar Oct 04 '24 22:10 cc13qq