From c4db9943337be718c9e14a4d1cc81635f4786ae6 Mon Sep 17 00:00:00 2001 From: piallai <59734081+piallai@users.noreply.github.com> Date: Sun, 1 Dec 2024 21:42:48 +0100 Subject: [PATCH] fix typo for skip layers parameters also updated the readme --- README.md | 4 ++++ examples/cli/main.cpp | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a17ef7e11..df75f9a70 100644 --- a/README.md +++ b/README.md @@ -232,6 +232,10 @@ arguments: -p, --prompt [PROMPT] the prompt to render -n, --negative-prompt PROMPT the negative prompt (default: "") --cfg-scale SCALE unconditional guidance scale: (default: 7.0) + --skip-layers LAYERS Layers to skip for SLG steps: (default: [7,8,9]) + --skip-layer-start START SLG enabling point: (default: 0.01) + --skip-layer-end END SLG disabling point: (default: 0.2) + SLG will be enabled at step int([STEPS]*[START]) and disabled at int([STEPS]*[END]) --strength STRENGTH strength for noising/unnoising (default: 0.75) --style-ratio STYLE-RATIO strength for keeping input identity (default: 20%) --control-strength STRENGTH strength to apply Control Net (default: 0.9) diff --git a/examples/cli/main.cpp b/examples/cli/main.cpp index 4b47286f4..644f8a983 100644 --- a/examples/cli/main.cpp +++ b/examples/cli/main.cpp @@ -207,9 +207,9 @@ void print_usage(int argc, const char* argv[]) { printf(" --cfg-scale SCALE unconditional guidance scale: (default: 7.0)\n"); printf(" --slg-scale SCALE skip layer guidance (SLG) scale, only for DiT models: (default: 0)\n"); printf(" 0 means disabled, a value of 2.5 is nice for sd3.5 medium\n"); - printf(" --skip_layers LAYERS Layers to skip for SLG steps: (default: [7,8,9])\n"); - printf(" --skip_layer_start START SLG enabling point: (default: 0.01)\n"); - printf(" --skip_layer_end END SLG disabling point: (default: 0.2)\n"); + printf(" --skip-layers LAYERS Layers to skip for SLG steps: (default: [7,8,9])\n"); + printf(" --skip-layer-start START SLG enabling point: (default: 0.01)\n"); + printf(" --skip-layer-end END SLG disabling point: (default: 0.2)\n"); printf(" SLG will be enabled at step int([STEPS]*[START]) and disabled at int([STEPS]*[END])\n"); printf(" --strength STRENGTH strength for noising/unnoising (default: 0.75)\n"); printf(" --style-ratio STYLE-RATIO strength for keeping input identity (default: 20%%)\n");