Closed akafun closed 1 year ago
That won't work if RGBA is not allowed, and should come before converting to RGB, that way an alpha channel can be scraped before it's truncated. Additionally masks are not batched aren't they? So maybe need a .unsqueeze(0)
That won't work if RGBA is not allowed, and should come before converting to RGB, that way an alpha channel can be scraped before it's truncated. Additionally masks are not batched aren't they? So maybe need a
.unsqueeze(0)
Thanks, it worked
Load Image Batch can't output mask,Output mask node, useful in processing many png images.
Below is the relevant code, if I insert this code(#addcodeSart), will it become useful? Code from single image load Then return this mask and make sure RETURN_NAMES = ("image","mask","filename_text")