neural-style-tf icon indicating copy to clipboard operation
neural-style-tf copied to clipboard

Trying to style few seconds of footage. Computing optical flow [CPU]. This will take a while...

Open ddilanchi opened this issue 6 years ago • 2 comments

It sure is taking a while. Is this always meant to run on CPU or have i made a mistake?

Been running on an I7-4770K for several hours now.

used this command:

bash stylize_video.sh ./video_input/video1.mp4 ./styles/pic2.jpg --device /gpu:0 --style_weight 200

ddilanchi avatar Jul 29 '18 09:07 ddilanchi

does it run on GPU for single images ? I'm about to start some video tests myself..

glennamarshall avatar Aug 01 '18 14:08 glennamarshall

i looked at the bash file - looks like we don't have a choice..

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 [CPU & GPU]. This will take a while..."

glennamarshall avatar Aug 02 '18 07:08 glennamarshall