Stable Diffusion运行Deforum报错问题解决

在运行Deforum并尝试下载dpt_large-midas-2f21e586.pt时,遇到路径错误导致报错。根据日志指示,修改general_utils.py中的download_file_with_checksum方法,用replace替换操作修正PATH。如果依然报错,删除Deforum插件及本地相关文件,重新安装并运行,将重新下载所需文件,最终问题得到解决。
摘要由CSDN通过智能技术生成

运行Deforum时,需要在线下载dpt_large-midas-2f21e586.pt

Downloading: "https://github.com/intel-isl/DPT/releases/download/1_0/dpt_large-midas-2f21e586.pt" to C:\sd-webui-aki\sd-webui-aki-v4.1\models\Deforum\dpt_large-midas-2f21e586.pt

可能会遇到报错信息Check your schedules/ init values please. Also make sure you don't have a backwards slash in any of your PATHs - use / instead of \.

*START OF TRACEBACK*
Traceback (most recent call last):
  File "C:\sd-webui-aki\sd-webui-aki-v4.1\extensions\deforum-for-automatic1111-webui\scripts\deforum_helpers\run_deforum.py", line 78, in run_deforum
    render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root)
  File "C:\sd-webui-aki\sd-webui-aki-v4.1\extensions\deforum-for-automatic1111-webui\scripts\deforum_helpers\render.py", line 109, in render_animation
    depth_model = DepthModel(root.models_path,
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值