Files
ComfyUI/comfy_extras
christian-byrne 76cc69a2af Split the alpha off by image layout, not by model channel count
Keying the split off upscale_model.input_channels was wrong for any model
that does not take 3 channels: a single channel model fed a plain RGB image
took only the red channel and returned 1 - green as the alpha mask, where it
used to fail loudly. Alpha is channel 3 of an RGBA image, nothing else.
2026-08-10 13:56:57 -07:00
..
2026-06-16 11:42:00 +08:00
2026-06-16 11:42:00 +08:00