From d1e365081a9907b41ac554e551a0da1e2feda637 Mon Sep 17 00:00:00 2001 From: DKnight54 <126916963+DKnight54@users.noreply.github.com> Date: Sat, 25 Jan 2025 00:22:59 +0800 Subject: [PATCH] Update sdxl_gen_img.py --- sdxl_gen_img.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdxl_gen_img.py b/sdxl_gen_img.py index a01aed69..68a9a775 100755 --- a/sdxl_gen_img.py +++ b/sdxl_gen_img.py @@ -2820,9 +2820,9 @@ def main(args): if len(batch_data) == args.batch_size: prev_image = process_batch(batch_data, highres_fix)[0] batch_data.clear() - - global_step += 1 logger.info(f"Global Step: {global_step}") + global_step += 1 + prompt_index += 1