From 973578e43d9af91f6711cde95aa19c051e7829e5 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 25 Jun 2018 19:32:03 +0200 Subject: smooth sequences --- process-sequences.sh | 4 ++-- run.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/process-sequences.sh b/process-sequences.sh index 10ba72f..ab19974 100644 --- a/process-sequences.sh +++ b/process-sequences.sh @@ -30,8 +30,8 @@ function process_self() { scp renders/* jules@lmno:asdf/neural/morph/ } -# process wood dji_phantom_3_drone_flying_the_blue_ridge_mountains_ -# process a_walk_around_canary_wharf_spring_afternoon_in_london london_walk_around_the_roof_garden_of_crossrail_place_in_canary_wharf +process wood dji_phantom_3_drone_flying_the_blue_ridge_mountains_ +process a_walk_around_canary_wharf_spring_afternoon_in_london london_walk_around_the_roof_garden_of_crossrail_place_in_canary_wharf process_self wood 0 25 process_self wood 0 250 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