summaryrefslogtreecommitdiff
path: root/run.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-25 19:32:03 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-25 19:32:03 +0200
commit973578e43d9af91f6711cde95aa19c051e7829e5 (patch)
treeeab0492d9ebb942cd77df09d7d042561c71368d6 /run.py
parent24fb661dacd41ad35b6d8352d9d72d05cb2c8327 (diff)
smooth sequences
Diffstat (limited to 'run.py')
-rw-r--r--run.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.py b/run.py
index d59a13b..d004ed0 100644
--- a/run.py
+++ b/run.py
@@ -139,7 +139,8 @@ def smooth_frames(moduleNetwork, tensorOutput, frames, smooth):
process(moduleNetwork, tensorInputFirst, tensorInputSecond, tensorOutput)
middle_np = tensorOutput.clamp(0.0, 1.0).numpy()
- new_frames += [firstFrame, middle_np]
+ new_frames += [firstFrame]
+ new_frames += [middle_np]
new_frames += [nextFrame]
return new_frames