yolain / ComfyUI-Easy-Use

In order to make it easier to use the ComfyUI, I have made some optimizations and integrations to some commonly used nodes.
GNU General Public License v3.0
1.1k stars 78 forks source link

imagesplitimage node issue #406

Open g558800 opened 2 months ago

g558800 commented 2 months ago

!!! Exception during processing !!! 'NoneType' object is not subscriptable Traceback (most recent call last): File "H:\AI\ComfyUI\execution.py", line 323, 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 "H:\AI\ComfyUI\execution.py", line 198, 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 "H:\AI\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "H:\AI\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "H:\AI\ComfyUI\nodes.py", line 1499, in save_images full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0]) TypeError: 'NoneType' object is not subscriptable

image

yolain commented 2 months ago

Check if there are more than one images in the input slot

g558800 commented 2 months ago

only one image.

image

yolain commented 2 months ago

only one image.

image

This is the node that splits from the image batch into multiple images. I think you might be needing imagesplitgird.