change crop-size to crop-margin, to add more context for crop infer

This commit is contained in:
Sanster
2022-03-24 09:08:49 +08:00
parent 1207b6e291
commit d3f1ea2474
4 changed files with 14 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ 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.
- `--crop-margin`: Margin around bounding box of painted stroke when crop mode triggered. Default is 256.
### Start server with LDM model