banodoco/Steerable-Motion

1.2 error : Error occurred when executing BatchCreativeInterpolation:

Closed this issue · 15 comments

Error occurred when executing BatchCreativeInterpolation:

not enough values to unpack (expected 3, got 2)

File "F:\ComfyUI\ComfyUI\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\custom_nodes\Steerable-Motion\SteerableMotion.py", line 346, in combined_function
start_strength, mid_strength, end_strength = strength_values[0]

image

Same error. I used a workflow with steerable motion from a streamer on Bilibili.

也是这个问题。

same error here:

Error occurred when executing BatchCreativeInterpolation:

too many values to unpack (expected 2)

File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\custom_nodes\steerable-motion\SteerableMotion.py", line 345, in combined_function
key_frame_influence_from, key_frame_influence_to = key_frame_influence_values[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

HI @xueqing0622, @SSulyvahn @paulzhang913 @ElSuccerro - could you please uninstall and reinstall Steerable Motion using Comfy Manager and let me know if it's working then?

I uninstall and reinstall Steerable Motion as you suggested, but the error remains ...

Error occurred when executing BatchCreativeInterpolation:

not enough values to unpack (expected 3, got 2)

File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\custom_nodes\steerable-motion\SteerableMotion.py", line 346, in combined_function
start_strength, mid_strength, end_strength = strength_values[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

你去先加载steerablemotion的默认工作流,然后你会发现能够成功运行,然后再去检查为什么

Just let you know: i rollback to (6154baa) and everything works again ...

貌似好像是因为参数问题,我按照默认工作流的参数调节后可以运行

Firstly, apparently someone solved by cloning directly from Github instead of using Comfy Manager.

Secondly, if one of you ones to help me debug, could you unzip the below and replace the file with this and then send me the terminal output:

SteerableMotion.py.zip

Pushed an update that should've fix it. Let me know if that works. Recommend you switching to the latest version as it should be more stable + powerful if this works

Pushed an update that should've fix it. Let me know if that works. Recommend you switching to the latest version as it should be more stable + powerful if this works

works again as it should. thanks for fix!

Pushed an update that should've fix it. Let me know if that works. Recommend you switching to the latest version as it should be more stable + powerful if this works

works again as it should. thanks for fix!

No problem, this haven't figured out the underlying issue but that will resolve

Hi, next error, when I set to linear_key_frame_influence dynamic, no matter what I set I get errors like:

Error occurred when executing BatchCreativeInterpolation:

too many values to unpack (expected 2)

File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\custom_nodes\steerable-motion\SteerableMotion.py", line 348, in combined_function
key_frame_influence_from, key_frame_influence_to = key_frame_influence_values[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

this had worked in the old version ...

@ElSuccerro, could send a screenshot of the node please?

@ElSuccerro, could send a screenshot of the node please?

Here we go ...
steerable

and here the error, as mentioned before, with the old version everything worked fine ...

Error occurred when executing BatchCreativeInterpolation:

too many values to unpack (expected 2)

File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\ComfyUI_windows_portable\ComfyUI\custom_nodes\steerable-motion\SteerableMotion.py", line 348, in combined_function
key_frame_influence_from, key_frame_influence_to = key_frame_influence_values[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^