Skip to content

Literate Python implementation of 'A Neural Algorithm of Artistic Style'

Notifications You must be signed in to change notification settings

Hodapp87/cs6475_neural_style

Repository files navigation

cs6475_neural_style

This was a final project for CS6475 at Georgia Tech. Most of the material here is duplicated in final_report.tex and in the Python notebook.

Goal

The goal of this project was to create a literate implementation (as in literate programming) of the algorithm described in the recent paper, A Neural Algorithm of Artistic Style by Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge.

The paper is sufficiently well-known by now that it has many open-source and commercial implementations that are quite good:

However, I found that many of these lacked clear explanations on why they were implemented how they were. The hope was that students in CS6475 (and maybe CS4495/CS6476) could understand and use this implementation, starting from their existing familiarity with Python, NumPy, SciPy, and OpenCV in the algorithms of computational photography.

Notebook

The eventual result was an IPython notebook (via Jupyter) which gives a simplified (but still functional) example of how to actually implement this algorithm with Caffe.

That notebook is available in "Neural Algorithm of Style" Notebook.ipynb in this repository. The conversion of this to a PDF is available in neural-style-notebook.pdf.

About

Literate Python implementation of 'A Neural Algorithm of Artistic Style'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages