diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-21 14:26:30 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-21 14:26:30 +0000 |
commit | 3d898044e5e55dca1698e9b5b7d3558b5b78675a (patch) | |
tree | 6eba22cf99871d9250b527960a5da7a5e28ac79f /scripts/outpainting_mk_2.py | |
parent | a7aa00d46ad14104231b87209e832df4ade9dd8d (diff) | |
download | stable-diffusion-webui-gfx803-3d898044e5e55dca1698e9b5b7d3558b5b78675a.tar.gz stable-diffusion-webui-gfx803-3d898044e5e55dca1698e9b5b7d3558b5b78675a.tar.bz2 stable-diffusion-webui-gfx803-3d898044e5e55dca1698e9b5b7d3558b5b78675a.zip |
batch_size does not affect job count
Diffstat (limited to 'scripts/outpainting_mk_2.py')
-rw-r--r-- | scripts/outpainting_mk_2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/outpainting_mk_2.py b/scripts/outpainting_mk_2.py index 633dc119..2afd4aa5 100644 --- a/scripts/outpainting_mk_2.py +++ b/scripts/outpainting_mk_2.py @@ -246,7 +246,7 @@ class Script(scripts.Script): batch_count = p.n_iter
batch_size = p.batch_size
p.n_iter = 1
- state.job_count = batch_count * batch_size * ((1 if left > 0 else 0) + (1 if right > 0 else 0) + (1 if up > 0 else 0) + (1 if down > 0 else 0))
+ state.job_count = batch_count * ((1 if left > 0 else 0) + (1 if right > 0 else 0) + (1 if up > 0 else 0) + (1 if down > 0 else 0))
all_processed_images = []
for i in range(batch_count):
|