summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process-sequences.sh2
-rw-r--r--run.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/process-sequences.sh b/process-sequences.sh
index fadadda..c3f606c 100644
--- a/process-sequences.sh
+++ b/process-sequences.sh
@@ -7,7 +7,7 @@ function process() {
--first "../pix2pixhd/sequences/$sequence_a/" \
--second "../pix2pixhd/sequences/$sequence_b/" \
--steps 16 \
- --dilate 4 \
+ --dilate 8 \
--video-out "morph_dilate_video_${sequence_a}.mp4"
scp renders/* jules@lmno:asdf/neural/morph/
}
diff --git a/run.py b/run.py
index cd19277..e1b6a58 100644
--- a/run.py
+++ b/run.py
@@ -176,7 +176,7 @@ elif arguments_mixVideos:
print("{} => {}".format(arguments_strFirst, arguments_strSecond))
outputPath = './renders/' + arguments_strVideoOut
frames = process_two_videos(moduleNetwork, tensorOutput, arguments_strFirst, arguments_strSecond, arguments_aOffset, arguments_bOffset, arguments_steps, arguments_dilate)
- dilate_frames(moduleNetwork, tensorOutput, frames, arguments_dilate)
+ frames = dilate_frames(moduleNetwork, tensorOutput, frames, arguments_dilate)
store_frames(frames, outputPath)
elif arguments_steps == 0:
# Process image
@@ -191,5 +191,5 @@ else:
inputSecond = load_image(arguments_strSecond)
outputPath = './renders/' + arguments_strVideoOut
frames = process_tree(moduleNetwork, inputFirst, inputSecond, tensorOutput, arguments_steps * arguments_dilate, arguments_dilate)
- dilate_frames(moduleNetwork, tensorOutput, frames, arguments_dilate)
+ frames = dilate_frames(moduleNetwork, tensorOutput, frames, arguments_dilate)
store_frames(frames, outputPath, inputFirst, inputSecond)