Skip to content

Instantly share code, notes, and snippets.

@yarwelp
Forked from jcjohnson/multires.sh
Created January 21, 2017 07:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yarwelp/9939198389220d794acce03df068d38e to your computer and use it in GitHub Desktop.
STYLE_WEIGHT=5e2
STYLE_SCALE=1.0
th neural_style.lua \
-content_image examples/inputs/hoovertowernight.jpg \
-style_image starry_night_gigapixel.jpg \
-style_scale $STYLE_SCALE \
-print_iter 1 \
-style_weight $STYLE_WEIGHT \
-image_size 256 \
-output_image out1.png \
-tv_weight 0 \
-backend cudnn -cudnn_autotune
th neural_style.lua \
-content_image examples/inputs/hoovertowernight.jpg \
-style_image starry_night_gigapixel.jpg \
-init image -init_image out1.png \
-style_scale $STYLE_SCALE \
-print_iter 1 \
-style_weight $STYLE_WEIGHT \
-image_size 512 \
-num_iterations 500 \
-output_image out2.png \
-tv_weight 0 \
-backend cudnn -cudnn_autotune
th neural_style.lua \
-content_image examples/inputs/hoovertowernight.jpg \
-style_image starry_night_gigapixel.jpg \
-init image -init_image out2.png \
-style_scale $STYLE_SCALE \
-print_iter 1 \
-style_weight $STYLE_WEIGHT \
-image_size 1024 \
-num_iterations 200 \
-output_image out3.png \
-tv_weight 0 \
-backend cudnn -cudnn_autotune
th neural_style.lua \
-content_image examples/inputs/hoovertowernight.jpg \
-style_image starry_night_gigapixel.jpg \
-init image -init_image out3.png \
-style_scale $STYLE_SCALE \
-print_iter 1 \
-style_weight $STYLE_WEIGHT \
-image_size 1800 \
-num_iterations 100 \
-output_image out4.png \
-tv_weight 0 \
-backend cudnn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment