Implementation of A Neural Algorithm of Artistic Style. A method to transfer the style of one image to the subject of another image.
- DeepPy, Deep learning in Python.
- CUDArray with cuDNN, CUDA-accelerated NumPy.
- Pretrained VGG 19 model, choose imagenet-vgg-verydeep-19.
Execute
python neural_artistic_style.py --subject images/tuebingen.jpg --style images/starry_night.jpg
The two inputs are
The output becomes:
We can also choose a (younger version) of HM the Queen of Denmark as subject and paint her using different styles. Click the images to see the full size.
Subject
Styles
Outputs
List command line options with
python neural_artistic_style.py --help