summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.py b/run.py
index db015c8..04eac2c 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))))
+ b_fn = os.path.join(b, "frame_{:0>5}.png".format(int(b_offset + len(frames)/2)))
if os.path.exists(b_fn):
frames += [ load_image(b_fn) ]
return frames