feat: add capability to repeatedly run the upscaler in a row (#174)

* Add in upscale repeater logic

---------

Co-authored-by: leejet <leejet714@gmail.com>
This commit is contained in:
Sean Baileyandleejet authored and GitHub committed 2024-02-24 21:31:01 +08:00
1 parent b6368868d9
commit 193fb620b1
3 files changed
+32 -12

No files matched your search

+3 -1
View File
@@ -148,7 +148,7 @@ cmake --build . --config Release
### Run
```
usage: ./bin/sd [arguments]
usage: ./build/bin/sd [arguments]
arguments:
-h, --help show this help message and exit
@@ -161,6 +161,7 @@ arguments:
--control-net [CONTROL_PATH] path to control net model
--embd-dir [EMBEDDING_PATH] path to embeddings.
--upscale-model [ESRGAN_PATH] path to esrgan model. Upscale images after generate, just RealESRGAN_x4plus_anime_6B supported by now.
--upscale-repeats Run the ESRGAN upscaler this many times (default 1)
--type [TYPE] weight type (f32, f16, q4_0, q4_1, q5_0, q5_1, q8_0)
If not specified, the default is the type of the weight file.
--lora-model-dir [DIR] lora model directory
@@ -186,6 +187,7 @@ arguments:
<= 0 represents unspecified, will be 1 for SD1.x, 2 for SD2.x
--vae-tiling process vae in tiles to reduce memory usage
--control-net-cpu keep controlnet in cpu (for low vram)
--canny apply canny preprocessor (edge detection)
-v, --verbose print extra info
```