summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-25 20:23:35 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-25 20:23:35 +0200
commitf7179b4e595872fc77ec2c85be8a58e099eb9192 (patch)
tree9c1814780c47bc554f8dfcb452cb888576358acd
parent21629fc4e7ab646148960fe13e64dc6415e118b3 (diff)
smooth sequences
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.py b/run.py
index 8490a57..5ce45e3 100644
--- a/run.py
+++ b/run.py
@@ -118,7 +118,7 @@ def average_two_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, st
print("{}...".format(index))
frames = []
steps *= dilate
- for i in range(0, steps * dilate, dilate):
+ for i in range(1, steps * dilate+1, dilate):
a_fn = os.path.join(a, "frame_{:0>5}.png".format(int(i + a_offset)))
b_fn = os.path.join(b, "frame_{:0>5}.png".format(int(i + b_offset)))
print("{} => {}".format(a_fn, b_fn))