diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-07-01 13:35:11 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-07-01 13:35:11 +0200 |
| commit | 116445413d4731af71a6747165e30abbe1a2812b (patch) | |
| tree | 3679953738c93771e8e854dd50fb936babf20d25 | |
| parent | ff23a6f5133fa3bc3d75d3eb30210dc9751548e3 (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)))) + 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 |
