From f5985df9032ee0cb32168fcd4833cd499da85bc8 Mon Sep 17 00:00:00 2001 From: Qing Date: Sat, 8 Oct 2022 22:15:21 +0800 Subject: [PATCH] update readme --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 16107f8..7ef4ffa 100644 --- a/README.md +++ b/README.md @@ -108,13 +108,16 @@ Available command line arguments: | FcF | :+1: Better structure and texture generation
:neutral_face: Only support fixed size (512x512) input | | | SD1.4 | :+1: SOTA text-to-image diffusion model | | -### LaMa vs LDM +
+ See model comparison detail + +**LaMa vs LDM** | Original Image | LaMa | LDM | | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | ![photo-1583445095369-9c651e7e5d34](https://user-images.githubusercontent.com/3998421/156923525-d6afdec3-7b98-403f-ad20-88ebc6eb8d6d.jpg) | ![photo-1583445095369-9c651e7e5d34_cleanup_lama](https://user-images.githubusercontent.com/3998421/156923620-a40cc066-fd4a-4d85-a29f-6458711d1247.png) | ![photo-1583445095369-9c651e7e5d34_cleanup_ldm](https://user-images.githubusercontent.com/3998421/156923652-0d06c8c8-33ad-4a42-a717-9c99f3268933.png) | -### LaMa vs ZITS +**LaMa vs ZITS** | Original Image | ZITS | LaMa | | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | @@ -122,21 +125,23 @@ Available command line arguments: Image is from [ZITS](https://github.com/DQiaole/ZITS_inpainting) paper. I didn't find a good example to show the advantages of ZITS and let me know if you have a good example. There can also be possible problems with my code, if you find them, please let me know too! -### LaMa vs FcF +**LaMa vs FcF** | Original Image | Lama | FcF | | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | ![texture](https://user-images.githubusercontent.com/3998421/188305027-a4260545-c24e-4df7-9739-ac5dc3cae879.jpeg) | ![texture_lama](https://user-images.githubusercontent.com/3998421/188305024-2064ed3e-5af4-4843-ac10-7f9da71e15f8.jpeg) | ![texture_fcf](https://user-images.githubusercontent.com/3998421/188305006-a08d2896-a65f-43d5-b9a5-ef62c3129f0c.jpeg) | +
+ ## Inpainting Strategy Lama Cleaner provides three ways to run inpainting model on images, you can change it in the settings dialog. -| Strategy | Description | VRAM | -| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| **Original** | Use the resolution of the original image | :tada: | -| **Resize** | Resize the image to a smaller size before inpainting. Lama Cleaner will make sure that the area of the image outside the mask is not degraded. | :tada: :tada: | -| **Crop** | Crop masking area from the original image to do inpainting | :tada: :tada: :tada: | +| Strategy | Description | VRAM | Speed | +| ------------ | ------------------------------------------------------------------------------------------------------ | ------ | ----------------- | +| **Original** | Use the resolution of the original image | High | :zap: | +| **Resize** | Resize the image to a smaller size before inpainting. The area outside the mask will not loss quality. | Midium | :zap: :zap: | +| **Crop** | Crop masking area from the original image to do inpainting | Low | :zap: :zap: :zap: | ## Download Model Mannually