mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-15 00:32:25 +00:00
Update train_util.py
This commit is contained in:
@@ -5507,6 +5507,10 @@ def sample_images_common(
|
||||
|
||||
# preprocess prompts
|
||||
idx = 0
|
||||
if example_tuple:
|
||||
logger.info(f"len(example_tuple): {len(example_tuple)}")
|
||||
logger.info(f"len(example_tuple[0]): {len(example_tuple[0])}")
|
||||
logger.info(f"len(example_tuple[1]): {len(example_tuple[1])}")
|
||||
for i in range(len(prompts)):
|
||||
prompt_dict = prompts[i]
|
||||
if isinstance(prompt_dict, str):
|
||||
|
||||
Reference in New Issue
Block a user