update readme
This commit is contained in:
16
README.md
16
README.md
@@ -54,7 +54,7 @@ A great introductory [youtube video](https://www.youtube.com/watch?v=aYia7Jvbjno
|
|||||||
<summary>1. Remove any unwanted things on the image</summary>
|
<summary>1. Remove any unwanted things on the image</summary>
|
||||||
|
|
||||||
| Usage | Before | After |
|
| Usage | Before | After |
|
||||||
|-------------------------------|-----------------------------------------------|-----------------------------------------------------|
|
| ----------------------------- | --------------------------------------------- | --------------------------------------------------- |
|
||||||
| Remove unwanted things |  |  |
|
| Remove unwanted things |  |  |
|
||||||
| Remove unwanted person |  |  |
|
| Remove unwanted person |  |  |
|
||||||
| Remove text |  |  |
|
| Remove text |  |  |
|
||||||
@@ -81,12 +81,11 @@ SD1.5/SD2
|
|||||||
| ---------------------- | ------------------------ | -------------------------------------------------------------- |
|
| ---------------------- | ------------------------ | -------------------------------------------------------------- |
|
||||||
| Text Driven Inpainting |  | Prompt: a fox sitting on a bench<br/>  |
|
| Text Driven Inpainting |  | Prompt: a fox sitting on a bench<br/>  |
|
||||||
|
|
||||||
|
|
||||||
Paint by Example
|
Paint by Example
|
||||||
|
|
||||||
| Original Image | Example Image | Result Image |
|
| Original Image | Example Image | Result Image |
|
||||||
|----|------|-------|
|
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|<img src="https://user-images.githubusercontent.com/3998421/206908542-c6465ca3-6414-4593-8318-0c8b569e7682.jpg">|[<img src="https://user-images.githubusercontent.com/3998421/206908517-bd7f62d2-464a-43bc-892e-dbea45f7b104.jpeg">](https://youtu.be/NSAN3TzfhaI)|[<img src="https://user-images.githubusercontent.com/3998421/206903752-0463a0cf-146d-4125-a969-8fe20127a09b.jpeg">](https://youtu.be/NSAN3TzfhaI)|
|
| <img src="https://user-images.githubusercontent.com/3998421/206908542-c6465ca3-6414-4593-8318-0c8b569e7682.jpg"> | [<img src="https://user-images.githubusercontent.com/3998421/206908517-bd7f62d2-464a-43bc-892e-dbea45f7b104.jpeg">](https://youtu.be/NSAN3TzfhaI) | [<img src="https://user-images.githubusercontent.com/3998421/206903752-0463a0cf-146d-4125-a969-8fe20127a09b.jpeg">](https://youtu.be/NSAN3TzfhaI) |
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -113,13 +112,14 @@ If you hava no idea what is docker or pip, please check [One Click Installer](./
|
|||||||
Available command line arguments:
|
Available command line arguments:
|
||||||
|
|
||||||
| Name | Description | Default |
|
| Name | Description | Default |
|
||||||
| -------------------- |---------------------------------------------------------------------------------------------------------------------| -------- |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------- | -------- |
|
||||||
| --model | lama/ldm/zits/mat/fcf/sd1.5/manga/sd2/paint_by_example See details in [Inpaint Model](#inpainting-model) | lama |
|
| --model | lama/ldm/zits/mat/fcf/sd1.5/manga/sd2/paint_by_example See details in [Inpaint Model](#inpainting-model) | lama |
|
||||||
| --hf_access_token | stable-diffusion need [huggingface access token](https://huggingface.co/docs/hub/security-tokens) to download model | |
|
| --hf_access_token | stable-diffusion need [huggingface access token](https://huggingface.co/docs/hub/security-tokens) to download model | |
|
||||||
| --sd-run-local | Once the model as downloaded, you can pass this arg and remove `--hf_access_token` | |
|
| --sd-run-local | Once the model as downloaded, you can pass this arg and remove `--hf_access_token` | |
|
||||||
| --sd-disable-nsfw | Disable stable-diffusion NSFW checker. | |
|
| --sd-disable-nsfw | Disable stable-diffusion NSFW checker. | |
|
||||||
| --sd-cpu-textencoder | Always run stable-diffusion TextEncoder model on CPU. | |
|
| --sd-cpu-textencoder | Always run stable-diffusion TextEncoder model on CPU. | |
|
||||||
| --sd-enable-xformers | Enable xFormers optimizations. See: [facebookresearch/xformers](https://github.com/facebookresearch/xformers) | |
|
| --sd-enable-xformers | Enable xFormers optimizations. See: [facebookresearch/xformers](https://github.com/facebookresearch/xformers) | |
|
||||||
|
| --no-half | Using full precision for sd/paint_by_exmaple model | |
|
||||||
| --device | cuda / cpu / mps | cuda |
|
| --device | cuda / cpu / mps | cuda |
|
||||||
| --port | Port for backend flask web server | 8080 |
|
| --port | Port for backend flask web server | 8080 |
|
||||||
| --gui | Launch lama-cleaner as a desktop application | |
|
| --gui | Launch lama-cleaner as a desktop application | |
|
||||||
@@ -172,9 +172,9 @@ Original Image
|
|||||||

|

|
||||||
|
|
||||||
| Model | 1080x740 | 1470x1010 |
|
| Model | 1080x740 | 1470x1010 |
|
||||||
|--------|------------|------------|
|
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
||||||
|Manga|||
|
| Manga |  |  |
|
||||||
|[LaMa](https://github.com/saic-mdal/lama)|||
|
| [LaMa](https://github.com/saic-mdal/lama) |  |  |
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user