aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-10-10 21:24:11 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-10-10 21:24:11 +0300
commit5da1ba0e91a81804dc911d34c9a2e6956a23199c (patch)
tree4f031b40b48c0446e25ddaf7dbe1bba8b7f53bf6
parent727e4d108674dc2813507e2a973a733ef21e8d53 (diff)
remove batch size restriction from X/Y plot
-rw-r--r--scripts/xy_grid.py5
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):