Source : https://pytorch.org/tutorials/advanced/neural_style_tutorial.html
Code :
Example :
File style.jpg : style image ("Paysage près de Chatou" by André Derain)
File content.jpg : content image (Village of Oingt, France)
Command line : python transfer.py
Result : file output.png