Sanster / IOPaint

Image inpainting tool powered by SOTA AI Model. Remove any unwanted object, defect, people from your pictures or erase and replace(powered by stable diffusion) any thing on your pictures.
https://www.iopaint.com/
Apache License 2.0
17.35k stars 1.75k forks source link

[BUG] CLI masking doesn't seem to be working? #483

Open JWazzle opened 2 months ago

JWazzle commented 2 months ago

Model Which model are you using? Lama

Describe the bug A clear and concise description of what the bug is. The web UI version masks the image fine, but when I try to use the CLI with batch processing, the mask I provide doesn't seem to work much at all? The images below are the input image and mask image as well as the weird output.

Screenshots If applicable, add screenshots to help explain your problem. input mask output

System Info Software version used

JWazzle commented 2 months ago

got latest update via pip install -U iopaint

JWazzle commented 2 months ago

I have also tried replacing whitewith transparent in a png for the mask but that ended up making it do nothing at all