summaryrefslogtreecommitdiff
path: root/stylize_video.sh
diff options
context:
space:
mode:
authorcam <cameron@ideum.com>2016-10-10 19:40:03 -0600
committercam <cameron@ideum.com>2016-10-10 19:40:03 -0600
commit5b3a4172bfe78eb3a93e99bc63eed33894175677 (patch)
treeb66fb2fee43d7f7c33a7bd91d50b0ff5a75509d6 /stylize_video.sh
parent1f1fb6cfc70c05c5ba7c0f328fd2cd421315e06a (diff)
Modified README
Diffstat (limited to 'stylize_video.sh')
-rw-r--r--stylize_video.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/stylize_video.sh b/stylize_video.sh
index cb8698c..14cbd8e 100644
--- a/stylize_video.sh
+++ b/stylize_video.sh
@@ -62,17 +62,17 @@ else
fi
num_frames=$(find "$temp_dir" -iname "*.ppm" | wc -l)
-echo "Computing optical flow. This will take a while..."
+echo "Computing optical flow [CPU]. This will take a while..."
cd ./video_input
bash make-opt-flow.sh ${content_filename}/frame_%04d.ppm ${content_filename}
cd ..
-echo "Rendering stylized video frames. This will take a while..."
-python neural_style.py --is_video \
+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" \
+--end_frame "${num_frames}" \
--max_size "${max_size}" \
--verbose;