Advertisement
Guest User

Contach.sh

a guest
May 28th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. STYLE_IMAGE=OVENKEYS/SFE2/
  2. CONTENT_IMAGE=OVEN/art13.jpg
  3.  
  4.  
  5.  
  6. STYLE_WEIGHT=1000
  7. STYLE_SCALE=1
  8. CONTENT_WEIGHT=170
  9.  
  10.  
  11. th neural_style_dir_rng_fix.lua \
  12. -style_image $STYLE_IMAGE \
  13. -style_weight $STYLE_WEIGHT \
  14. -style_scale $STYLE_SCALE \
  15. -content_image $CONTENT_IMAGE \
  16. -content_weight $CONTENT_WEIGHT \
  17. -print_iter 1 \
  18. -save_iter 100 \
  19. -image_size 300 \
  20. -num_iterations 500 \
  21. -learning_rate 50 \
  22. -model_file models/VGGx4.v2.caffemodel \
  23. -proto_file models/VGGx4.v2-train.prototxt \
  24. -content_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \
  25. -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \
  26. -optimizer lbfgs \
  27. -output_image out1.png \
  28. -tv_weight 0.00001 \
  29. -gpu 1,2,0 \
  30. -multigpu_strategy 1,7,6 \
  31. -backend cudnn \
  32. -normalize_gradients \
  33.  
  34.  
  35.  
  36.  
  37. STYLE_WEIGHT=3000
  38. STYLE_SCALE=1
  39. CONTENT_WEIGHT=0.25
  40.  
  41.  
  42. th neural_style_dir_rng_fix.lua \
  43. -style_image $STYLE_IMAGE \
  44. -style_weight $STYLE_WEIGHT \
  45. -style_scale $STYLE_SCALE \
  46. -content_image $CONTENT_IMAGE \
  47. -content_weight $CONTENT_WEIGHT \
  48. -init image \
  49. -init_image out1.png \
  50. -print_iter 1 \
  51. -save_iter 100 \
  52. -image_size 768 \
  53. -num_iterations 100 \
  54. -learning_rate 50 \
  55. -model_file models/VGGx4.v2.caffemodel \
  56. -proto_file models/VGGx4.v2-train.prototxt \
  57. -content_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \
  58. -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \
  59. -optimizer lbfgs \
  60. -output_image out2.png \
  61. -tv_weight 0.00001 \
  62. -gpu 1,2,0 \
  63. -multigpu_strategy 1,7,6 \
  64. -original_colors 0 \
  65. -backend cudnn \
  66. -normalize_gradients \
  67.  
  68.  
  69.  
  70. th neural_style_dir_rng_fix.lua \
  71. -style_image $STYLE_IMAGE \
  72. -style_weight $STYLE_WEIGHT \
  73. -style_scale $STYLE_SCALE \
  74. -content_image $CONTENT_IMAGE \
  75. -content_weight $CONTENT_WEIGHT \
  76. -init image \
  77. -init_image out2.png \
  78. -print_iter 1 \
  79. -save_iter 100 \
  80. -image_size 924 \
  81. -num_iterations 50 \
  82. -learning_rate 50 \
  83. -model_file models/VGGx4.v2.caffemodel \
  84. -proto_file models/VGGx4.v2-train.prototxt \
  85. -content_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \
  86. -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \
  87. -optimizer lbfgs \
  88. -output_image out3.png \
  89. -tv_weight 0.00001 \
  90. -gpu 1,2,0 \
  91. -multigpu_strategy 1,7,6 \
  92. -original_colors 0 \
  93. -backend cudnn \
  94. -normalize_gradients \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement