ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

VAEEncodeForInpaint:

Open longge0126 opened this issue 1 year ago • 3 comments

Error occurred when executing VAEEncodeForInpaint:

Given groups=1, weight of size [128, 3, 3, 3], expected input[1, 4, 1024, 1024] to have 3 channels, but got 4 channels instead

longge0126 avatar Apr 18 '24 11:04 longge0126

I have the same error. The error happens when you try to upload an mask to VAEEncodeForInpaint.

The only way to avoid this error is to use mask editor to manually draw a mask, which is obviously not a good solution.

realpixelbard avatar Apr 26 '24 06:04 realpixelbard