From 2c213158db085b2633b29a821d765f7fa4908ba3 Mon Sep 17 00:00:00 2001 From: Sanster Date: Mon, 18 Apr 2022 22:18:48 +0800 Subject: [PATCH] update --- .gitignore | 3 ++- README.md | 21 +++++++++------------ publish.sh | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index bc9822f..e6d98c5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ examples/ .idea/ .vscode/ -build/ +build +!lama_cleaner/app/build dist/ lama_cleaner.egg-info/ diff --git a/README.md b/README.md index 08e3000..8b9167a 100644 --- a/README.md +++ b/README.md @@ -18,18 +18,15 @@ https://user-images.githubusercontent.com/3998421/153323093-b664bb68-2928-480b-b Available commands for `main.py` -| Name | Description | Default | -| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- | -| --model | lama or ldm. See details in **Model Comparison** | lama | -| --device | cuda or cpu | cuda | -| --ldm-steps | The larger the value, the better the result, but it will be more time-consuming | 50 | -| --crop-trigger-size | If image size large then crop-trigger-size, crop each area from original image to do inference. Mainly for performance and memory reasons on **very** large image. | 2042,2042 | -| --crop-margin | Margin around bounding box of painted stroke when crop mode triggered. | 256 | -| --gui | Launch lama-cleaner as a desktop application | | -| --gui_size | Set the window size for the application | 1200 900 | -| --input | Path to image you want to load by default | None | -| --port | Port for flask web server | 8080 | -| --debug | Enable debug mode for flask web server | | +| Name | Description | Default | +| ---------- | ------------------------------------------------ | -------- | +| --model | lama or ldm. See details in **Model Comparison** | lama | +| --device | cuda or cpu | cuda | +| --gui | Launch lama-cleaner as a desktop application | | +| --gui_size | Set the window size for the application | 1200 900 | +| --input | Path to image you want to load by default | None | +| --port | Port for flask web server | 8080 | +| --debug | Enable debug mode for flask web server | | ## Model Comparison diff --git a/publish.sh b/publish.sh index 8a2e1d1..e42d5f5 100644 --- a/publish.sh +++ b/publish.sh @@ -7,4 +7,4 @@ popd rm -r -f dist python3 setup.py sdist bdist_wheel -#twine upload dist/* +twine upload dist/*