diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-10 18:24:11 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-10 18:24:11 +0000 |
commit | 5da1ba0e91a81804dc911d34c9a2e6956a23199c (patch) | |
tree | 4f031b40b48c0446e25ddaf7dbe1bba8b7f53bf6 | |
parent | 727e4d108674dc2813507e2a973a733ef21e8d53 (diff) | |
download | stable-diffusion-webui-gfx803-5da1ba0e91a81804dc911d34c9a2e6956a23199c.tar.gz stable-diffusion-webui-gfx803-5da1ba0e91a81804dc911d34c9a2e6956a23199c.tar.bz2 stable-diffusion-webui-gfx803-5da1ba0e91a81804dc911d34c9a2e6956a23199c.zip |
remove batch size restriction from X/Y plot
-rw-r--r-- | scripts/xy_grid.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index 771eb8e4..42e1489c 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -205,7 +205,10 @@ class Script(scripts.Script): if not no_fixed_seeds:
modules.processing.fix_seed(p)
- p.batch_size = 1
+ if not opts.return_grid:
+ p.batch_size = 1
+
+
CLIP_stop_at_last_layers = opts.CLIP_stop_at_last_layers
def process_axis(opt, vals):
|