Kosinkadink / ComfyUI-VideoHelperSuite

Nodes related to video workflows
GNU General Public License v3.0
434 stars 76 forks source link

ValueError: setting an array element with a sequence #174

Closed O-O1024 closed 3 months ago

O-O1024 commented 3 months ago

Traceback (most recent call last): File "C:\Downloads\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\Downloads\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:\Downloads\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "C:\Downloads\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite\videohelpersuite\load_video_nodes.py", line 183, in load_video return load_video_cv(kwargs) File "C:\Downloads\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite\videohelpersuite\load_video_nodes.py", line 131, in load_video_cv images = torch.from_numpy(np.fromiter(gen, np.dtype((np.float32, (height, width, 3))))) ValueError: setting an array element with a sequence.

On "Load Video (upload)" node

O-O1024 commented 3 months ago

It's numpy version problem.