diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 19:10:54 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 19:10:54 +0200 |
| commit | 278296e1110bea0abe49af6087e855c312087d92 (patch) | |
| tree | c351fd50dbd08a3799b86a2cb2e0ba15a81e4d1a | |
| parent | b06cabfaed85179a5c1f8805f5c0f55b3f916a22 (diff) | |
process sequences
| -rw-r--r-- | process-sequences.sh | 2 | ||||
| -rw-r--r-- | run.py | 4 |
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/ } @@ -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) |
