IOPaint/scripts/README.md

37 lines
1.1 KiB
Markdown
Raw Normal View History

2022-10-24 12:32:35 +02:00
# Lama Cleaner One Click Installer
## Model Description
- **lama**: State of the art image inpainting AI model, useful to remove any unwanted object, defect, people from your pictures.
2023-01-08 14:13:36 +01:00
- **sd1.5**: Stable Diffusion model, text-driven image editing.
2022-10-24 12:32:35 +02:00
## Windows
2022-10-27 17:22:00 +02:00
1. Download [lama-cleaner-win.zip](https://github.com/Sanster/lama-cleaner/releases/download/win_one_click_installer/lama-cleaner-win.zip)
2022-10-27 17:02:31 +02:00
1. Unpack `lama-cleaner-win.zip`
2022-10-31 14:11:25 +01:00
1. Double click `win_config.bat`, follow the guide in the terminal to choice [model](#model-description) and set other configs.
1. Double click `win_start.bat` to start the server.
2022-11-08 02:19:26 +01:00
## Q&A
2022-12-15 14:22:21 +01:00
**How to update the version?**
2022-11-08 02:19:26 +01:00
Rerun `win_config.bat` will install the newest version of lama-cleaner
2022-12-15 14:22:21 +01:00
**Where is model downloaded?**
By default, model will be downloaded to user folder
2023-01-08 14:13:36 +01:00
2022-12-15 14:24:13 +01:00
- stable diffusion model: `C:\Users\your_name\.cache\huggingface`
- lama model: `C:\Users\your_name\.cache\torch`
2022-12-15 14:22:21 +01:00
**How to change the directory of model downloaded?**
Change `win_start.bat` file
```
set TORCH_HOME=your_directory
set HF_HOME=your_directory
@call invoke start
```