smthemex / ComfyUI_StoryDiffusion

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

可以支持只画双人么,现在是报错的. #62

Closed libaiabcd closed 2 months ago

libaiabcd commented 2 months ago

我的提示词:

FB61CEBA-F023-46DC-B7E5-0367C207AEAB

报错信息如下: Error occurred when executing Storydiffusion_Sampler:

'[Taylor]'

File "/root/ComfyUI/execution.py", line 316, 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 "/root/ComfyUI/execution.py", line 191, 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 "/root/ComfyUI/execution.py", line 168, in _map_node_over_list process_inputs(input_dict, i) File "/root/ComfyUI/execution.py", line 157, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 1777, in story_sampler for value in gen: File "/root/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 826, in process_generation ref_indexs = ref_indexs_dict[character_key]

@smthemex 🙏

smthemex commented 2 months ago

第一个prompt是角色的样貌,服饰的prompt,第二行是场景描述prompt,如果是双人,必须要先出现单人的场景描述,不然无法生成,你看看示例吧。

libaiabcd commented 2 months ago

用例我跑了是OK的,有些重画的场景,就是想直接画两个人的,所以想用上边截图的prompt。

smthemex commented 2 months ago

必须要先生成双人的单个形象,才能生成双人的形象,你一定要生成双人的,去用我那个comfy_MsDiffusion 的插件 吧,那个可以直接生成双人的。