mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-15 08:36:41 +00:00
Update sdxl_gen_img.py
testing logger
This commit is contained in:
@@ -2810,7 +2810,9 @@ def main(args):
|
||||
num_sub_prompts,
|
||||
),
|
||||
)
|
||||
|
||||
if len(batch_data) > 0 and batch_data[-1].ext != b1.ext: # バッチ分割必要?
|
||||
logger.info("Does this run? When number of prompts less than batch?")
|
||||
process_batch(batch_data, highres_fix)
|
||||
batch_data.clear()
|
||||
|
||||
@@ -2820,6 +2822,7 @@ def main(args):
|
||||
batch_data.clear()
|
||||
|
||||
global_step += 1
|
||||
logger.info(f"Global Step: {global_step}")
|
||||
|
||||
prompt_index += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user