titu1994 / Neural-Style-Transfer

Keras Implementation of Neural Style Transfer from the paper "A Neural Algorithm of Artistic Style" (http://arxiv.org/abs/1508.06576) in Keras 2.0+
Apache License 2.0
2.26k stars 481 forks source link

Multi scale transfer #42

Closed rachelebellini closed 7 years ago

rachelebellini commented 7 years ago

Hello,

I am interested in the multi-scale transfer you showed. I couldn't however understand the process very well. Could you list the steps you did? especially, how do you combine the different scales (192x192, 384x384, 768x768)?

Thank you!

titu1994 commented 7 years ago

Its not a combination usage. Its stepwise.

1) Load initial content image (C), style image. Set image size to 128. Run algo for 50-100 iterations. Save result as R1. 2) Change image size to twice previous layer. 3) Set "Initial Layer" as "". In popup choose previous result image (R1, R2, ..., Ri). 4) Run algo 50-100 iterations. Save result as Ri+1 (2nd image scale = R2, 3rd image scale = R3) 5) Repeat 2 onwards.