diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-07-01 13:46:22 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-07-01 13:46:22 +0200 |
| commit | fead7b1c3f3136ebb70b4014dcf4389606294b6d (patch) | |
| tree | 5588f61c01b7b9962cf3cb908b3addd0aa406507 | |
| parent | 116445413d4731af71a6747165e30abbe1a2812b (diff) | |
endswith
| -rw-r--r-- | run.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ def recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, count, def process_two_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, steps, dilate): steps *= dilate - a_fn = os.path.join(a, "frame_{:0>5}.png".format(int(a_offset))) + a_fn = os.path.join(a, "frame_{:0>5}.png".format(max(int(a_offset), 1))) frames = [] frames += [ load_image(a_fn) ] frames += recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, steps, steps, steps/2, dilate) |
