smthemex / ComfyUI_StoryDiffusion

You can using StoryDiffusion in ComfyUI
Apache License 2.0
243 stars 195 forks source link

两个角色同框报错 #98

Open luozb opened 1 month ago

luozb commented 1 month ago

Error occurred when executing Storydiffusion_Sampler:

list index out of range

File "D:\software\ComfyUI-aki-v1.3\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\software\ComfyUI-aki-v1.3\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\software\ComfyUI-aki-v1.3\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\software\ComfyUI-aki-v1.3\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\software\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_StoryDiffusion\Storydiffusion_node.py", line 1775, in story_sampler img = image_dual[j]

image

smthemex commented 1 month ago

需要先生成2个角色1张图,然后才能双角色,你把场景第二行改到第三行去

luozb commented 1 month ago

谢谢,那有办法以文生图的方式生成双角色一张图吗?

smthemex commented 1 month ago

一样的,只是文生图需要预生成一张脸(便于一致性参考),所以文生图需要 [A],[A], [B] ,[B] ,[A] and [B],五张图才能双角色

luozb commented 1 month ago

需要先生成2个角色1张图,然后才能双角色,你把场景第二行改到第三行去

角色定义的是两个,只能输入两张图,一个角色一张,再合并一张2角色1张图的就报错了。 image

smthemex commented 1 month ago

你这个是三角色了,目前不支持