From e7e7eddafb2ba70bb06c3bca82ffa380733c39ac Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 1 Jul 2018 13:54:11 +0200 Subject: endswith --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 33158f0..6a18686 100644 --- a/run.py +++ b/run.py @@ -103,7 +103,7 @@ def process_two_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, st frames = [] frames += [ load_image(a_fn) ] frames += recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, steps, steps, steps/2, dilate) - b_fn = os.path.join(b, "frame_{:0>5}.png".format(int(b_offset + len(frames) - dilate))) + b_fn = os.path.join(b, "frame_{:0>5}.png".format(int(b_offset + steps))) if os.path.exists(b_fn): frames += [ load_image(b_fn) ] return frames -- cgit v1.2.3-70-g09d2