add crop infor for lama
This commit is contained in:
@@ -20,6 +20,10 @@ Install requirements: `pip3 install -r requirements.txt`
|
||||
python3 main.py --device=cuda --port=8080 --model=lama
|
||||
```
|
||||
|
||||
- `--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.Default is 2042,2042
|
||||
- `--crop-size`: Crop size for `--crop-trigger-size`. Default is 512,512.
|
||||
|
||||
### Start server with LDM model
|
||||
|
||||
```bash
|
||||
@@ -35,7 +39,6 @@ results than LaMa.
|
||||
|--------------|------|----|
|
||||
||||
|
||||
|
||||
|
||||
Blogs about diffusion models:
|
||||
|
||||
- https://lilianweng.github.io/posts/2021-07-11-diffusion-models/
|
||||
|
||||
Reference in New Issue
Block a user