From 2ba83cf0e43f024fac2ce1e19a90756cbfc45d52 Mon Sep 17 00:00:00 2001 From: Victor Hall Date: Mon, 23 Jan 2023 20:47:12 -0500 Subject: [PATCH] remove unnecessary skip stuff --- data/resolver.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/data/resolver.py b/data/resolver.py index 94168a8..8c04c40 100644 --- a/data/resolver.py +++ b/data/resolver.py @@ -113,7 +113,6 @@ class DirectoryResolver(DataResolver): image_paths = list(DirectoryResolver.recurse_data_root(data_root)) items = [] multipliers = {} - skip_folders = [] randomizer = random.Random(self.seed) for pathname in tqdm.tqdm(image_paths): @@ -129,10 +128,8 @@ class DirectoryResolver(DataResolver): logging.info(f" * DLMA multiply.txt in {current_dir} set to {val}") except Exception as e: logging.warning(f" * {Fore.LIGHTYELLOW_EX}Error trying to read multiply.txt for {current_dir}: {Style.RESET_ALL}{e}") - skip_folders.append(current_dir) multipliers[current_dir] = 1.0 else: - skip_folders.append(current_dir) multipliers[current_dir] = 1.0 caption = ImageCaption.resolve(pathname)