summaryrefslogtreecommitdiff
path: root/stylize_video.sh
diff options
context:
space:
mode:
authorjules <jules@asdf.us>2018-07-18 19:13:04 +0200
committerjules <jules@asdf.us>2018-07-18 19:13:04 +0200
commit826905abc95f76e16226128ff11e6fa6dafe992d (patch)
treeec6719e25d9c3dad5f677bc9ae621b75f5d1eb2a /stylize_video.sh
parent9e4edc2158ecf5191862a6f2c6b35bd47ac05c17 (diff)
script editsHEADmaster
Diffstat (limited to 'stylize_video.sh')
-rwxr-xr-x[-rw-r--r--]stylize_video.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/stylize_video.sh b/stylize_video.sh
index 5f39f89..bc2f8f7 100644..100755
--- a/stylize_video.sh
+++ b/stylize_video.sh
@@ -1,4 +1,4 @@
-set -e
+#set -e
# Get a carriage return into `cr`
cr=`echo $'\n.'`
cr=${cr%.}
@@ -72,12 +72,14 @@ cd ..
echo "Rendering stylized video frames [CPU & GPU]. This will take a while..."
python neural_style.py --video \
---video_input_dir "${temp_dir}" \
---style_imgs_dir "${style_dir}" \
---style_imgs "${style_filename}" \
---end_frame "${num_frames}" \
---max_size "${max_size}" \
---verbose;
+ --video_input_dir "${temp_dir}" \
+ --style_imgs_dir "./" \
+ --style_imgs ../../Desktop/stylephotos/fakestyle/fakestyle6.tiff ../../Desktop/stylephotos/original/style5.tiff \
+ --style_imgs_weights 0.4 0.6 \
+ --end_frame "${num_frames}" \
+ --max_size "${max_size}" \
+ --verbose;
+
# Create video from output images.
echo "Converting image sequence to video. This should be quick..."