neural-style-pt
neural-style-pt copied to clipboard
Can you share your training parameters? I can't get as good a performance as you.
@yunlm Try using the following parameters with multiscale generation:
-init image -tv_weight 0 -learning_rate 2 -init image -content_weight 100 -style_weight 6000

Using the above two images and the following parameters `python neural_style.py -style_image ~/Documents/NST/style/Starry-Night.jpg -content_image ~/Documents/NST/maroon.JPG -output_image maroonxstarry.jpg -model_file models/vgg19-d01eb7cb.pth -gpu 0 -num_iterations 2000 -content_weight 10 -style_weight 50000 -image_size 1024 -optimizer lbfgs -init image -tv_weight 0 -learning_rate 2 -init image -style_scale 1.5 -original_colors 1', I produced this:

I'm finding the style_scale parameter to be very useful. Here's the same pair redone using a style scale of 0.5
:
@strohrbaugh You should start off at a lower image size and then scale it up with multiple steps of increasing image size (multiscale rendering).
You're so right. I'm glad I finally made the time to try that out.