diff options
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | stylize_video.sh | 8 |
2 files changed, 11 insertions, 7 deletions
@@ -73,9 +73,13 @@ More than one style image can be used to blend multiple artistic styles. ### Style Interpolation When using multiple style images, the degree to which they are blended can be controlled. <p align="center"> -<img src="examples/style_interpolation/taj_mahal_scream_1_starry_9.png" height="192px"> -<img src="examples/style_interpolation/taj_mahal_scream_5_starry_5.png" height="192px"> -<img src="examples/style_interpolation/taj_mahal_scream_9_starry_1.png" height="192px"> +<img src="examples/style_interpolation/taj_mahal_scream_1_starry_9.png" height="178px"> +<img src="examples/style_interpolation/taj_mahal_scream_5_starry_5.png" height="178px"> +<img src="examples/style_interpolation/taj_mahal_scream_9_starry_1.png" height="178px"> + +<img src="examples/style_interpolation/taj_mahal_afremov_grey_9_1.png" height="178px"> +<img src="examples/style_interpolation/taj_mahal_afremov_grey_5_5.png" height="178px"> +<img src="examples/style_interpolation/taj_mahal_afremov_grey_1_9.png" height="178px"> </p> ### Transfer style but not color 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; |
