diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-07-01 13:50:39 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-07-01 13:50:39 +0200 |
| commit | 83c269f6a3e3dd50e0a0d90aab869c90734d488e (patch) | |
| tree | 66d4ed7865e35d86ae7ad32dcdb6a4dac30da0d0 | |
| parent | fead7b1c3f3136ebb70b4014dcf4389606294b6d (diff) | |
endswith
| -rw-r--r-- | run.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)/2))) + b_fn = os.path.join(b, "frame_{:0>5}.png".format(int(b_offset + len(frames) - dilate))) if os.path.exists(b_fn): frames += [ load_image(b_fn) ] return frames |
