help video to video Error:RuntimeError: The size of tensor a (20) must match the size of tensor b (14) at non-singleton dimension 1
!!! Exception during processing !!! The size of tensor a (20) must match the size of tensor b (14) at non-singleton dimension 1 Traceback (most recent call last): File "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 327, 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 "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 202, 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 "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 174, in _map_node_over_list process_inputs(input_dict, i) File "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 163, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\nodes.py", line 1088, in process noise = noise * latent_timestep / 1000 + (1 - latent_timestep / 1000) * samples["samples"].squeeze(0).to(noise) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RuntimeError: The size of tensor a (20) must match the size of tensor b (14) at non-singleton dimension 1
this also have the same problem.
Check that the images that come out of the Resize node are actually 77, it looks like the Video Info -node might report it wrong, and it's actually 56. You can use something like this to see it, and get the correct count for the empty embeds:
Check that the images that come out of the Resize node are actually 77, it looks like the Video Info -node might report it wrong, and it's actually 56. You can use something like this to see it, and get the correct count for the empty embeds:
I did as you said, but still got an error. error info:Traceback (most recent call last): File "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 327, 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 "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 202, 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 "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 174, in _map_node_over_list process_inputs(input_dict, i) File "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\execution.py", line 163, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\comfyui\v0.3.15ComfyUI_windows_portable_nvidia\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\nodes.py", line 1088, in process noise = noise * latent_timestep / 1000 + (1 - latent_timestep / 1000) * samples["samples"].squeeze(0).to(noise) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RuntimeError: The size of tensor a (60) must match the size of tensor b (45) at non-singleton dimension 3
Prompt executed in 0.27 seconds
The image dimensions aren't matching now:
thank you very much.I did it,and it work.