From: Christian Heller Date: Sun, 13 Oct 2024 01:52:05 +0000 (+0200) Subject: Fix buggy output path generation. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/bar%20baz.html?a=commitdiff_plain;h=28a9f6249a74fc130f540a31e1e013eb2dd6c709;p=stable_plom Fix buggy output path generation. --- diff --git a/stable.py b/stable.py index 44833f6..542792e 100755 --- a/stable.py +++ b/stable.py @@ -134,6 +134,7 @@ def run(): maker = None total = len(args.models) * args.quantity start_time = datetime.now() + path_idx = 0 for i, model_name in enumerate(args.models): new_model_path = path_join(args.models_dir, model_name) if new_model_path != old_model_path: @@ -153,7 +154,6 @@ def run(): start_seed = start_seed if start_seed != 0 else randint(SEED_MIN, SEED_MAX) seed_corrector = 0 - path_idx = 0 for n in range(args.quantity): if 0 == start_seed + n + seed_corrector: seed_corrector += 1