-
-
Save ProGamerGov/631c22f57ae316f35157a7c4b6726e6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python linear-color-transfer.py --target_image vangogh_starry_rhone.jpg --source_image bauerngarten.jpg --output_image style_colored_pca.png | |
th neural_style.lua \ | |
-content_image bauerngarten.jpg \ | |
-style_image style_colored_pca.png \ | |
-image_size 640 \ | |
-output_image out1.png \ | |
-model_file models/VGG_ILSVRC_19_layers_conv.caffemodel -proto_file models/VGG_ILSVRC_19_layers_deploy.prototxt \ | |
-content_layers relu4_2 -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \ | |
-original_colors 0 -content_weight 1e2 -style_weight 1e3 -print_iter 50 -save_iter 50 -seed 876 -backend cudnn -cudnn_autotune -optimizer lbfgs | |
th neural_style.lua \ | |
-content_image bauerngarten.jpg \ | |
-style_image style_colored_pca.png \ | |
-init image -init_image out1.png \ | |
-original_colors 0 -content_weight 1 -style_weight 1e3 -print_iter 50 -save_iter 0 -seed 876 -backend cudnn -cudnn_autotune -optimizer lbfgs \ | |
-output_image out2.png \ | |
-image_size 768 \ | |
-model_file models/VGG_ILSVRC_19_layers_conv.caffemodel -proto_file models/VGG_ILSVRC_19_layers_deploy.prototxt \ | |
-content_layers relu4_2 -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \ | |
-num_iterations 500 \ | |
th neural_style.lua \ | |
-content_image bauerngarten.jpg \ | |
-style_image style_colored_pca.png \ | |
-init image -init_image out2.png \ | |
-original_colors 0 -content_weight 1 -style_weight 1e3 -print_iter 50 -save_iter 0 -seed 876 -backend cudnn -cudnn_autotune -optimizer lbfgs \ | |
-image_size 1024 \ | |
-num_iterations 200 \ | |
-model_file models/VGG_ILSVRC_19_layers_conv.caffemodel -proto_file models/VGG_ILSVRC_19_layers_deploy.prototxt \ | |
-content_layers relu4_2 -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \ | |
-output_image out3.png \ | |
th neural_style.lua \ | |
-content_image bauerngarten.jpg \ | |
-style_image style_colored_pca.png \ | |
-init image -init_image out3.png \ | |
-original_colors 0 -content_weight 1 -style_weight 1e3 -print_iter 50 -save_iter 0 -seed 876 -backend cudnn -cudnn_autotune -optimizer lbfgs \ | |
-image_size 1152 \ | |
-num_iterations 200 \ | |
-model_file models/VGG_ILSVRC_19_layers_conv.caffemodel -proto_file models/VGG_ILSVRC_19_layers_deploy.prototxt \ | |
-content_layers relu4_2 -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \ | |
-output_image out4.png \ | |
th neural_style.lua \ | |
-content_image bauerngarten.jpg \ | |
-style_image style_colored_pca.png \ | |
-init image -init_image out4.png \ | |
-original_colors 0 -content_weight 1 -style_weight 1e3 -print_iter 50 -save_iter 0 -seed 876 -backend cudnn -cudnn_autotune -optimizer lbfgs \ | |
-image_size 1536 \ | |
-num_iterations 200 \ | |
-model_file models/VGG_ILSVRC_19_layers_conv.caffemodel -proto_file models/VGG_ILSVRC_19_layers_deploy.prototxt \ | |
-content_layers relu4_2 -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \ | |
-output_image out5.png \ | |
th neural_style.lua \ | |
-content_image bauerngarten.jpg \ | |
-style_image style_colored_pca.png \ | |
-init image -init_image out5.png \ | |
-original_colors 0 -content_weight 1 -style_weight 1e3 -print_iter 50 -save_iter 0 -seed 876 -backend cudnn -cudnn_autotune -optimizer lbfgs \ | |
-image_size 1664 \ | |
-num_iterations 200 \ | |
-model_file models/VGG_ILSVRC_19_layers_conv.caffemodel -proto_file models/VGG_ILSVRC_19_layers_deploy.prototxt \ | |
-content_layers relu4_2 -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1 \ | |
-output_image out6.png | |
python lum-transfer.py --output_lum2 out6.png --cp_mode lum2 --output_image out6_final.png --org_content bauerngarten.jpg | |
python linear-color-transfer.py --target_image out6_final.png --source_image bauerngarten.jpg --output_image out6_final_pca.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment