-
Notifications
You must be signed in to change notification settings - Fork 30
Color Control Examples
ProGamerGov edited this page Feb 20, 2017
·
9 revisions
The final output:
The process only takes 4 commands (including neural_style.lua) to complete:
python linear-color-transfer.py --target_image fig3_style1.jpg --source_image fig3_content.jpg --output_image style_colored_pca.png
python lum_transfer.py --content_image fig3_content.jpg --style_image style_colored_pca.png --cp_mode lum --output_style_image output_lum_style_pca.png --output_content_image output_lum_content_pca.png --org_content fig3_content.jpg
th neural_style.lua -original_colors 0 -image_size 1000 -content_weight 1 -style_weight 1e3 -output_image out_lum6_test.png -content_image output_lum_content_pca.png -style_image output_lum_style_pca.png -num_iterations 1500 -save_iter 50 -print_iter 50 -seed 876 -init image -backend cudnn -cudnn_autotune
python lum_transfer.py --output_lum2 out_lum6_test_400.png --cp_mode lum2 --output_image out_combined.png --org_content fig3_content.jpg
