Skip to content

Commit 2a3aefb

Browse files
authored
Update train_util.py, bug fix
1 parent 25f961b commit 2a3aefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/train_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ def read_caption(img_path, caption_extension, enable_wildcard):
14891489
def load_dreambooth_dir(subset: DreamBoothSubset):
14901490
if not os.path.isdir(subset.image_dir):
14911491
logger.warning(f"not directory: {subset.image_dir}")
1492-
return [], []
1492+
return [], [], []
14931493

14941494
info_cache_file = os.path.join(subset.image_dir, self.IMAGE_INFO_CACHE_FILE)
14951495
use_cached_info_for_subset = subset.cache_info

0 commit comments

Comments
 (0)