-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLIPSeg tuple index out of range #48
Comments
hard to say, they might just have an outdated version or outdated dependency |
Same issue since couple of days (locally). Worked fine before. No idea what''s the cause, same workflow I've been using for weeks.
Tried reinstalling essentials and other packages that might be related, tried updating what's possible. This is a weird one... all help appreciated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got the following error when trying to run the PuLID_refiner workflow on comfyui deployed on a lightning.ai workspace. The CLIPSeg values were: prompt=face, threshold=0.40, smooth=21, dilate=2, blur=23.
Error occurred when executing ApplyCLIPSeg+:
tuple index out of range
File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/teamspace/studios/this_studio/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 "/teamspace/studios/this_studio/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/teamspace/studios/this_studio/ComfyUI/custom_nodes/ComfyUI_essentials/segmentation.py", line 64, in execute
outputs = T.functional.gaussian_blur(outputs, smooth)
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/torchvision/transforms/v2/functional/_misc.py", line 81, in gaussian_blur
return kernel(inpt, kernel_size=kernel_size, sigma=sigma)
File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/torchvision/transforms/v2/functional/_misc.py", line 146, in gaussian_blur_image
kernel = kernel.expand(shape[-3], 1, kernel.shape[0], kernel.shape[1])
When I tried the same job locally it worked fine. I know this might be a problem with the environment, but if you have any ideas or suggestions I'd greatly appreciate it.
The text was updated successfully, but these errors were encountered: