Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5a194f8

Browse files
committedFeb 12, 2024
Update readme with the changes
1 parent 882df65 commit 5a194f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ git submodule update
9494
#### Build from scratch
9595

9696
```shell
97+
git submodule init
98+
git submodule update
9799
mkdir build
98100
cd build
99101
cmake ..
@@ -148,7 +150,7 @@ cmake --build . --config Release
148150
### Run
149151
150152
```
151-
usage: ./bin/sd [arguments]
153+
usage: ./build/bin/sd [arguments]
152154

153155
arguments:
154156
-h, --help show this help message and exit
@@ -161,6 +163,7 @@ arguments:
161163
--control-net [CONTROL_PATH] path to control net model
162164
--embd-dir [EMBEDDING_PATH] path to embeddings.
163165
--upscale-model [ESRGAN_PATH] path to esrgan model. Upscale images after generate, just RealESRGAN_x4plus_anime_6B supported by now.
166+
--upscale-repeats Run the ESRGAN upscaler this many times (default 1)
164167
--type [TYPE] weight type (f32, f16, q4_0, q4_1, q5_0, q5_1, q8_0)
165168
If not specified, the default is the type of the weight file.
166169
--lora-model-dir [DIR] lora model directory
@@ -186,6 +189,7 @@ arguments:
186189
<= 0 represents unspecified, will be 1 for SD1.x, 2 for SD2.x
187190
--vae-tiling process vae in tiles to reduce memory usage
188191
--control-net-cpu keep controlnet in cpu (for low vram)
192+
--canny apply canny preprocessor (edge detection)
189193
-v, --verbose print extra info
190194
```
191195

0 commit comments

Comments
 (0)
Please sign in to comment.