Uminosachi / sd-webui-inpaint-anything

Inpaint Anything extension performs stable diffusion inpainting on a browser UI using masks from Segment Anything.
Apache License 2.0
1.09k stars 100 forks source link

Need a stop button #60

Open Davikar opened 1 year ago

Davikar commented 1 year ago

It's very easy to run out of vram when using a too large image, even if using a smaller sam model. Since it takes forever to complete when running out of vram it would be nice if there was a stop button so we could stop the action instead of completely shutting down Stable Diffusion.

Uminosachi commented 1 year ago

Implementing a stop button may pose a challenge, but I have integrated FastSAM into the latest version. Although FastSAM may slightly reduce mask quality, it allows for high-speed and larger image inference.