summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-07-01 13:31:17 +0200
committerJules Laplace <julescarbon@gmail.com>2018-07-01 13:31:17 +0200
commite67d38c6b55dda076a94c21a215d3ded53068091 (patch)
tree0fba43a72c3a49dcf09afa1712cb52b5c157838f
parentf03b06aaa54d3781c4d204b6e3b634b21d390592 (diff)
endswith
-rw-r--r--run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.py b/run.py
index 98333f8..2551b5d 100644
--- a/run.py
+++ b/run.py
@@ -101,11 +101,11 @@ def process_two_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, st
steps *= dilate
a_fn = os.path.join(a, "frame_{:0>5}.png".format(int(steps + a_offset)))
frames = []
- frames += load_image(a_fn)
+ 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(steps + b_offset + len(frames))))
if os.path.exists(b_fn):
- frames += load_image(b_fn)
+ frames += [ load_image(b_fn) ]
return frames
def average_two_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, steps, dilate):