home
·
contact
·
privacy
projects
/
stable_plom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bfeeba
)
Fix buggy output path generation.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 13 Oct 2024 01:52:05 +0000
(
03:52
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 13 Oct 2024 01:52:05 +0000
(
03:52
+0200)
stable.py
patch
|
blob
|
history
diff --git
a/stable.py
b/stable.py
index 44833f623b318c3d7d9e45dc96807f92e7dc0ce4..542792ef0e2404df44149af580a4224277718f52 100755
(executable)
--- 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