Nuked88 / ComfyUI-N-Nodes

A suite of custom nodes for ConfyUI that includes GPT text-prompt generation, LoadVideo, SaveVideo, LoadFramesFromFolder and FrameInterpolator
MIT License
205 stars 22 forks source link

[BUG] error with LOAD VIDEO - N-SUITE #59

Open estudioyotta opened 6 months ago

estudioyotta commented 6 months ago

Error occurred when executing LoadVideo [n-suite]:

'NoneType' object has no attribute 'shape'

File "C:\Users\Usuário\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Usuário\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 "C:\Users\Usuário\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Usuário\ComfyUI\custom_nodes\ComfyUI-N-Nodes\py\video_node_advanced.py", line 474, in encode width, height = calc_resize_image(FRAMES[0], size, resize_by) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Usuário\ComfyUI\custom_nodes\ComfyUI-N-Nodes\py\video_node_advanced.py", line 159, in calc_resize_image height, width = image.shape[:2] ^^^^^^^^^^^