0.28.0
Stable Diffusion
- Add match histogram option #143, Match the inpainting result histogram to the source image histogram, which will improve the inpainting quality for some images.
- Add
--sd-enable-xformers
command line arg #146, which gives a big boost in speed while also reducing GPU memory usage significantly. To use this option you need to Installhttps://github.com/facebookresearch/xformers
first
Interactive Segmentation
In this release, Lama Cleaner integrates with a small model(so it can run on CPU) from ClickSEG. I have wanted to add this feature for a long time, it's fun and useful in many scenarios.
The basic operation process is as follows:
- Enable
Interactive Segmentation
by clicking the button on the bottom toolbar, or by shortcuti
- Left click meaning
position click
(include things you want to mask) - Right click meaning
negative click
(exclude things you want to mask) - Complete the mask with the brush (If the result of interactive segmentation is not so good)
- Inpainting!