diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 20:23:35 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 20:23:35 +0200 |
| commit | f7179b4e595872fc77ec2c85be8a58e099eb9192 (patch) | |
| tree | 9c1814780c47bc554f8dfcb452cb888576358acd | |
| parent | 21629fc4e7ab646148960fe13e64dc6415e118b3 (diff) | |
smooth sequences
| -rw-r--r-- | run.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |
