Comfy-Org / Comfy-Org/ComfyUI

Using comfyui web generates the image normally, but the api reports an error.

Open
#3,233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

Using comfyui web generates the image normally, but the api reports an error.

!!! Exception during processing !!!
Traceback (most recent call last):
File "E:\workplace\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\workplace\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 "E:\workplace\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "E:\workplace\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 712, in apply_ipadapter
face_img = tensorToNP(image)
File "E:\workplace\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 337, in tensorToNP
out = torch.clamp(255. * image.detach().cpu(), 0, 255).to(torch.uint8)
AttributeError: 'NoneType' object has no attribute 'detach'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.