summaryrefslogtreecommitdiff
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
parent24fb661dacd41ad35b6d8352d9d72d05cb2c8327 (diff)
smooth sequences
-rw-r--r--process-sequences.sh4
-rw-r--r--run.py3
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