Releases: Sanster/IOPaint
0.30.1
0.30.0
Paint by Example
New model --model paint_by_example
from https://github.com/Fantasy-Studio/Paint-by-Example.
This model is really interesting, you can use an example image to guide the model to generate similar content and no prompt is needed. I like the bunny one most, which one do you like? Click the bunny image to see how to use this model, have fun!
Original Image | Example Image | Result Image |
---|---|---|
cat | bird |
---|---|
bear | panda |
---|---|
0.29.0
- New model
--model sd2
: Stable Diffusion 2 - New sampler
dpm++
: DPMSolverMultistepScheduler Empirically, sampling by DPM-Solver with only 20 steps can generate high-quality samples, and it can generate quite good samples even in only 10 steps. - New device
--device mps
: M1/M2 Apple Silicon support, make sure your torch version is1.13.0
. In theory, Lama Cleaner's code is device agnostic, but I don't have an M1 device to test it on, so if you encounter any problems, please try to provide a full screenshot of the error when opening an issue. Or just submit a PR to fix the problem, I'd appreciate it! ☮️ ✌️
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!
is_demo3.mp4
0.27.1
🤗 Huggingface Spaces
Lama Cleaner is no living on 🤗 Huggingface Spaces! https://huggingface.co/spaces/Sanster/Lama-Cleaner-lama
0.26.0
-
Add upload mask button. Once uploaded, you can rerun inpainting with the current mask by clicking the play button. The mask must have the same shape as the image.
mask example(white area is mask area):
-
Better error message when CUDA OOM
-
Add
--disable-model-switch
when start server. Disable model switch from frontend -
sd1.5
- Faster model loading thanks to diffusers 0.7.0 update:
- Negative Prompt
- Add
k_euler
andk_euler_a
sampler - Make the cropper easier to drag and resize: #111
0.25.0
Windows One Click Installer
- Windows One Click Installer: Follow the guide here to install: https://github.com/Sanster/lama-cleaner/blob/main/scripts/README.md
- Add Buy Me a Coffee btn on page
macOS One Click Installer
Follow the guide here to install it: https://github.com/Sanster/lama-cleaner/blob/main/scripts/README.md