From 826905abc95f76e16226128ff11e6fa6dafe992d Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 18 Jul 2018 19:13:04 +0200 Subject: script edits --- stylize_video.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) mode change 100644 => 100755 stylize_video.sh (limited to 'stylize_video.sh') diff --git a/stylize_video.sh b/stylize_video.sh old mode 100644 new mode 100755 index 5f39f89..bc2f8f7 --- 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..." -- cgit v1.2.3-70-g09d2