summaryrefslogtreecommitdiff
path: root/stylize_video.sh
diff options
context:
space:
mode:
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..."