ComfyUI
ComfyUI copied to clipboard
sv3d_conditioning node cant take input thats used rembg
i have a workflow where i do a txt2img pipeline with sdxl turbo, if i use rembg to remove the background from the image it works,
but once i put this in front of the sv3d and input the rembg image into the input mage of sv3d_conditioning , it complains about tensor size and errors
"The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 1"
my guess is here:
https://github.com/comfyanonymous/ComfyUI/blob/45ec1cbe963055798765645c4f727122a7d3e35e/comfy_extras/nodes_stable3d.py#L120
encode_pixels = pixels[:,:,:,:3]
Probably shouldn't slice down to 3 channels from 4? I tried multiple diff nodes in front of it and same issue each time