← all repositories
andersbll/neural_artistic_style

Painting with gradients: the 2015 neural style paper, reimplemented

A straightforward Python implementation of the original Gatys et al. neural style transfer algorithm, complete with Danish royalty examples.

neural_artistic_style
Not currently ranked — collecting fresh signals.
star history

What it does

Feed it a subject photo and a style image; it outputs the photo re-rendered in the style of the painting. The implementation follows the original 2015 paper closely, using a pretrained VGG-19 network to separate and recombine content and texture.

The interesting bit

The author built two custom dependencies to make this work: DeepPy (a deep learning framework) and CUDArray (a CUDA-accelerated NumPy clone). That was the state of the art in 2015 — before PyTorch made this a ten-line script.

Key highlights

  • Implements the original Gatys et al. “A Neural Algorithm of Artistic Style” paper verbatim
  • Command-line interface: --subject and --style flags, plus tunable options via --help
  • Requires VGG-19 weights from MatConvNet’s pretrained zoo
  • Ships with a full example gallery including the Queen of Denmark in five artistic styles
  • GPU acceleration via cuDNN through the CUDArray backend

Caveats

  • Dependencies (DeepPy, CUDArray) are the author’s own projects and appear unmaintained; getting this running on modern CUDA versions may require archaeology
  • No mention of memory requirements, processing time, or supported image sizes in the README

Verdict

Worth a look if you’re studying the original paper or maintaining legacy 2015-era deep learning code. For practical style transfer today, modern frameworks have made this far simpler.

Frequently asked

What is andersbll/neural_artistic_style?
A straightforward Python implementation of the original Gatys et al. neural style transfer algorithm, complete with Danish royalty examples.
Is neural_artistic_style open source?
Yes — andersbll/neural_artistic_style is open source, released under the MIT license.
What language is neural_artistic_style written in?
andersbll/neural_artistic_style is primarily written in Python.
How popular is neural_artistic_style?
andersbll/neural_artistic_style has 2.2k stars on GitHub.
Where can I find neural_artistic_style?
andersbll/neural_artistic_style is on GitHub at https://github.com/andersbll/neural_artistic_style.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.