Skip to content

Commit

Permalink
Update train_util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DKnight54 authored Jan 30, 2025
1 parent f73db40 commit 7f0ae28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/train_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7f0ae28

Please sign in to comment.