Skip to content

Releases: Sanster/IOPaint

0.30.1

03 Jan 14:08
Compare
Choose a tag to compare

On some GPU(#167) sd model might get a black image, it's probably because of fp16 precision, add a new --no-half option to the startup command, please upgrade to 0.30.1 to use this arg(for one-click installer, rerun win_config.bat will install the newest version of lama-cleaner)

0.30.0

11 Dec 14:13
Compare
Choose a tag to compare

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
jack_sparrow_cleanup_cat jack_sparrow_cleanup_bird
bear panda
jack_sparrow_cleanup_bear jack_sparrow_cleanup_panda

0.29.0

04 Dec 13:06
Compare
Choose a tag to compare

img

  • 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 is 1.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

02 Dec 13:20
d44dd88
Compare
Choose a tag to compare

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 Install https://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 shortcut i
  • 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

21 Nov 13:11
Compare
Choose a tag to compare

Manga inpainting model from: https://github.com/msxie92/MangaInpainting

Manga model works better on high-quality manga image then LaMa model.

Original Image

manga

Model 1080x740 1470x1010
Manga manga_1080x740 manga_1470x1010
LaMa lama_1080x740 lama_1470x1010

🤗 Huggingface Spaces

16 Nov 13:27
627ddef
Compare
Choose a tag to compare

Lama Cleaner is no living on 🤗 Huggingface Spaces! https://huggingface.co/spaces/Sanster/Lama-Cleaner-lama

image

0.26.0

16 Nov 04:10
51daa8d
Compare
Choose a tag to compare
  • 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.
    image
    mask example(white area is mask area):
    overture-creations-5sI6fQgYIuo_mask

  • 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 and k_euler_a sampler
    • Make the cropper easier to drag and resize: #111

0.25.0

08 Nov 00:49
Compare
Choose a tag to compare
  • remove torch.amp.autocast in sd1.5, run 25% faster(tested on 3080)
  • remove Strength from the sd side panel, it has nothing to do with inpainting
  • fix the flaskwebgui version

Windows One Click Installer

27 Oct 15:20
Compare
Choose a tag to compare

macOS One Click Installer

24 Oct 14:54
Compare
Choose a tag to compare