Code taken from paper "High-Resolution Network for Photorealistic Style Transfer" and Author Implementation
I have used Google Colab Environment for the implementation changes.
The implementation changes proposed in this work are:
- Different layers of the network store different information regarding the content of the image and the style of the image. So, I analysed the importance of each layer and tried a weighted combination. (Task 1)
- I varied the ratio of content weight to style weight in order to generate images in a vast diversity. (Task 2)
- I tried different combinations of loss functions in order to improve the content preservation while transferring style. (Task 3)
- Along with content loss and style loss, I also included Total Variation Loss.(Task 4)
- In order to fasten the training process, I tried to use adaptive content to style weight ratio. (Task 5)
- Artistic NST Images contains the results of the implementation of paper "A Neural Algorithm of Artistic Style"
- Content-Style Images contains all the images I have used for generating results of various combination of content and style.
- Content-Style Weight Ratio contains of results of Task 2.
- Loss Variations contains the results of Task 3.
- More Results folder contains the results after the best combination of all Tasks on different content and style images.
- Single Layer Extraction contains the results of Task 1.
- Swapping Results folder contains swapping between various Artworks, Day-time Translation and FLower images.
Here are some results(from left to right are content, style and output):
Our work is inspired by Deep High-Resolution Representation Learning for Human Pose Estimation.
The transfer code is based on Udacity.
Author's contact (Ming Li limingcv@gmail.com)
My contact (Divyanshu Mandowara divyanshu.mandowara92@gmail.com)