From df32a7acda9cada817dcb7730b2d7d4335646c51 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 25 Jun 2018 18:06:20 +0200 Subject: process sequences --- process-sequences.sh | 4 ++-- run.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/process-sequences.sh b/process-sequences.sh index d652fad..d41dd9f 100644 --- a/process-sequences.sh +++ b/process-sequences.sh @@ -3,7 +3,7 @@ function process() { sequence_b="$2" rm renders/* python run.py \ - --mix-videos \ + --mix-videos True \ --first "../pix2pixhd/sequences/$sequence_a/" \ --second "../pix2pixhd/sequences/$sequence_b/" \ --steps 128 \ @@ -16,7 +16,7 @@ function process_self() { b_offset="$3" rm renders/* python run.py \ - --mix-videos \ + --mix-videos True \ --first "../pix2pixhd/sequences/$sequence_a/" \ --second "../pix2pixhd/sequences/$sequence_b/" \ --a-offset "$a_offset" \ diff --git a/run.py b/run.py index e9f5de1..d8fc839 100644 --- a/run.py +++ b/run.py @@ -26,6 +26,7 @@ arguments_bOffset = 0 arguments_mixVideos = False for strOption, strArgument in getopt.getopt(sys.argv[1:], '', [ strParameter[2:] + '=' for strParameter in sys.argv[1::2] ])[0]: + print("{}: {}".format(strOption, strArgument)) if strOption == '--model': arguments_strModel = strArgument # which model to use, l1 or lf, please see our paper for more details elif strOption == '--first': -- cgit v1.2.3-70-g09d2