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

gpu

Open czzzy opened this issue 7 years ago • 1 comments

where or how do i add the flag -gpu? example: th fast_neural_style.lua \
-model models/eccv16/starry_night.t7 \
-input_image images/content/chicago.jpg \
-output_image out.png ( -gpu 0 )? or others?

czzzy avatar Apr 08 '17 15:04 czzzy

Yeap, the command below should work.

th fast_neural_style.lua \
-model models/eccv16/starry_night.t7 \
-input_image images/content/chicago.jpg \
-output_image out.png \
-gpu 0

vkbs avatar Jul 11 '17 05:07 vkbs