siliconflow / BizyAir

BizyAir: Comfy Nodes that can run in any environment.
https://siliconflow.github.io/BizyAir/
MIT License
185 stars 13 forks source link

[BUG] img2img bugs #43

Closed whitebaby closed 1 month ago

whitebaby commented 1 month ago

Error occurred when executing BizyAirKolorsSampler:

The batch size of latent samples should be the same as the prompt_embeds, got 1 and 2

File "G:\sd\ComfyUIergouzi\ComfyUIergouzi0705\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "G:\sd\ComfyUIergouzi\ComfyUIergouzi0705\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "G:\sd\ComfyUIergouzi\ComfyUIergouzi0705\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "G:\sd\ComfyUIergouzi\ComfyUIergouzi0705\ComfyUI\custom_nodes\BizyAir\kolors.py", line 227, in process latent["samples"].shape[0] == kolors_embeds["prompt_embeds"].shape[0]

用的官方的演示的可灵图生图

yuegu2401 commented 1 month ago

把提示词重新写一下就行了,或者把提示词里面的竖条删除

doombeaker commented 1 month ago

谢谢 @whitebaby 反馈问题,谢谢 @yuegu2401 的解答。现在已经更新了默认的 example https://github.com/siliconflow/BizyAir/pull/47 可以直接运行了。

这个问题出现的原因是一开始对输入的 batchsize 不严格导致会出错,但是后来加强了检查后,example 没有同步更新。