今天想尝试用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

​​

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

Logo

为开发者提供按需使用的算力基础设施。

更多推荐