Comfyui-Animatediff 插件报错 解决方案

今天想尝试用ComfyUI-AnimateDiff-Evolved这个插件做个动画来着,结果发现这货又报错了...

这生态也过于繁茂了,以至于大家兼容什么的,都本着爱兼容不兼容的态度...隔几天不用就报bug给你看...

报错信息:

Error occurred when executing KSampler: module 'comfy.sample' has no attribute 'prepare_mask' File "F:\ComfyUI-aki\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI-aki\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI-aki\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "F:\ComfyUI-aki\nodes.py", line 1369, in sample return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise) File "F:\ComfyUI-aki\nodes.py", line 1339, in common_ksampler samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, File "F:\ComfyUI-aki\custom_nodes\Comfyui-StableSR\nodes.py", line 75, in hook_sample return original_sample(*args, **kwargs) File "F:\ComfyUI-aki\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations. File "F:\ComfyUI-aki\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 264, in motion_sample function_injections.inject_functions(model, params) File "F:\ComfyUI-aki\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 198, in inject_functions self.orig_prepare_mask = comfy.sample.prepare_mask

后台信息:

 [AnimateDiffEvo] - ERROR - Encountered AttributeError while attempting to restore functions - likely, an error occured while trying to save original functions before injection, and a more specific error was thrown by ComfyUI.
!!! Exception during processing !!!

 不过这个后台信息不用太在意,前台信息更关键一点。

尝试了更新环境,在秋叶启动器里边更新插件和更新comfyui版本,甚至回退comfyui版本,都无济于事。

最终折腾了半天,终于找到了解决的方式。---其实也很简单。

打开插件管理器:

 进入自定义节点,搜索animatediff,找个这个插件,并尝试更新。

记得连接好网络,如果有代理,记得在秋叶的启动器里边也开启代理。

之后重新启动comfyui,就可以正常使用了。

如果对你有用,记得帮忙点个赞哦。

吐槽一句,comfyui兼容问题真的是太多了...

🎉写在最后~

去年的时候写了两门比较基础的Stable Diffuison WebUI的基础文字课程,大家如果喜欢的话,可以按需购买,在这里首先感谢各位老板的支持和厚爱~

✨StableDiffusion系统基础课(适合啥也不会的朋友,但是得有块Nvidia显卡):

https://blog.csdn.net/jumengxiaoketang/category_12477471.html

​​🎆综合案例课程(适合有一点基础的朋友):

https://blog.csdn.net/jumengxiaoketang/category_12526584.html

​​

这里是聚梦小课堂,就算不买课也没关系,点个关注,交个朋友😄

  • 38
    点赞
  • 31
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

聚梦小课堂

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值