summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-25 19:45:11 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-25 19:45:11 +0200
commit8ccd256e5df405b8333a589786df18781c4bb76b (patch)
treee8e5754afa6303c64eeba3326d039c7940359790
parent7751805ec4ad129397cb08c88df8a4f555dcbca3 (diff)
smooth sequences
-rw-r--r--process-sequences.sh4
-rw-r--r--run.py1
2 files changed, 3 insertions, 2 deletions
diff --git a/process-sequences.sh b/process-sequences.sh
index a8ab8e8..1410848 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 15ab098..4c4b0ce 100644
--- a/run.py
+++ b/run.py
@@ -142,6 +142,7 @@ def smooth_frames(moduleNetwork, tensorOutput, frames, smooth):
new_frames += [firstFrame]
new_frames += [middle_np]
new_frames += [nextFrame]
+ new_frames = frames[len(frames)-1]
return new_frames
def dilate_frames(moduleNetwork, tensorOutput, frames, dilate):