Neural-Style-Transfer
Implementation of a Neural Netwrok to perform Style Transfer, using transfer learning of a VGG19 imagenet model
- Create an Interactive session
- load content image
- load style image
- add random noise to the content image, to create initial generated image
- load pretrained model
- build the tensorflow graph:
- Run the content image through the model and compute the content cost
- Run the style image through the model and compute the style cost
- Compute the total cost
- Define the optimizer and the learning rate
- initialize the tensorflow graph and run it for no. of iterations while updating genrated image G at every step
Github Repository - Neural-Style-Transfer
-
Style Image (images/galmpton-painting.jpg):
-
Content Image (images/delhi.jpg)
-
Content Image (images/Lal_quila.jpg)
-
Content Image (images/Rashtrapati-bhavan.jpg)