diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 18:02:16 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 18:02:16 +0200 |
| commit | 67110341348c77c7284b5316e55cc38d7a3e1343 (patch) | |
| tree | 5f4e39f6b4c29fd52b932a6dfa93f9f484b69960 | |
| parent | b1b6a118d1c1f04164e1c6f386cd345597dbf3a7 (diff) | |
process sequences
| -rw-r--r-- | run.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -84,8 +84,8 @@ def recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, count, if (index % 10) == 0: print("{}...".format(index)) step /= 2 - a_img = load_image(os.path.join(a, "frame_{:05d}.png".format(frame_index + a_offset))) - b_img = load_image(os.path.join(b, "frame_{:05d}.png".format(frame_index + b_offset))) + a_img = load_image(os.path.join(a, "frame_{:0>5}.png".format(frame_index + a_offset))) + b_img = load_image(os.path.join(b, "frame_{:0>5}.png".format(frame_index + b_offset))) frame = process_two_frames(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, a_img, b_img, frame_index, count, count / 2) if step < 2: return [frame] |
