This is a Tensorflow implementation of styling images using VGG-19 model.
Content Image | Style Image | Generated Image |
---|---|---|
Alpha | Beta | Result |
---|---|---|
0.025 | 5 | |
1 | 500 | |
5 | 100 | |
10 | 40 | |
7.5 | 100 | |
10 | 5000 |
Here,
Jcontent is the content loss function
C and G represent content and generated image respectively
a(C)and a(G) are the activations from the chosen layer when image is passed to the model
nH, nW, nC are the height, weight and number of channels of the image respectively
Formula Used | Generated Image(Run only upto 100 iterations) |
---|---|
- A Neural Algorithm of Artistic Style
- Convolutional Neural Networks by deeplearning.ai on coursera
- NeuralArt Github Repository