From 973578e43d9af91f6711cde95aa19c051e7829e5 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 25 Jun 2018 19:32:03 +0200 Subject: smooth sequences --- run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'run.py') 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 -- cgit v1.2.3-70-g09d2