shadowcz007 / comfyui-liveportrait

LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control
389 stars 33 forks source link

LivePortraitNode: list index out of range #16

Open danieldilly opened 3 months ago

danieldilly commented 3 months ago

I'm trying to use the family portrait workflow. An error occurs during the LivePortraitNode's processing:

Error occurred when executing LivePortraitNode:

list index out of range

File "E:\AI\cui\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\AI\cui\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 "E:\AI\cui\ComfyUI\execution.py", line 65, in map_node_over_list results.append(getattr(obj, func)(**input_data_all)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\AI\cui\ComfyUI\custom_nodes\comfyui-liveportrait\nodes\live_portrait.py", line 388, in run if driving_video[i]:

danieldilly commented 3 months ago

Connecting the scenes_video from the Load Video and Segment node directly to the Live Portrait node appears to have fixed the issue.

merecesarchviz commented 2 months ago

errrrr I got the same error every time i generate something! how can we solve it?

http://prntscr.com/6aUtiKHUO_bU