Assignment4 Neural Style Transfer

Name : Divam Gupta

Andrew ID : divamg

Contents:

Content Reconstruction

bash content_loss_exps.sh

Effect of optimizing content loss at different layers

Used tubingen.jpeg for the experiment

conv1

conv4

conv6

conv5 , conv6 , conv7

conv10

We can see that as we go higher, the reconstruction is more noisy.

Results of two random noises

used phipps.jpeg

conv4 , RUN1

conv4 , RUN1

We can see that the outputs of both the runs are pretty much the same.

Texture Synthesis

Used the starry night for this experiment.

bash texture_exps.sh 

Effect of optimizing texture loss at different layers

Style 1

Conv10

Conv1 , Conv2

conv3 , conv4 , conv5

Results of two random noises

conv1 , conv2 , conv3 , conv4 , conv5 RUN1

conv1 , conv2 , conv3 , conv4 , conv5 RUN2

Style Transfer

bash style_transfer_exps.sh

Implementation details

Hyperparamers

Grid of results

Compare with random initialization

random initilization

content image initialization

We see that content image initialization is much better

Style transfer on my images

References