lasagne_visualizer

Documentation Status Updates

A small python package that lets you have a glimpse at the inner workings of your deep lasagne architectures.

Using ipython notebook you can now live-monitor the weight learning of your models, or just save the generated visualizations when running command line python scripts.

Obviously, having a rough idea of how the weights of your model progress, can guide you in how to tweak your architecture and its parameters. Other frameworks such as Tensorflow have had such visualizations from the start and lasagne_visualizer tries to provide a similar, though much more leight-weight, tool.

The image below gives a flavor of how your visualization might come out to look:

https://github.com/SimonKohl/lasagne_visualizer/blob/develop/examples/example.png

Example

For an example on how to use lasagne_visualizer in an IPython Notebook, see Finetuning for Image Classification, which borrows the underlying example from ebenolson.

Installation

Before installing lasagne_visualizer be sure to install both Lasagne and Theano. Lasagne recommends using the bleeding-edge versions (See Lasagne Installation). Then just go: [sudo] pip install lasagne-visualizer

Further Information

Features

  • plot the mean/extremal values/1 sigma error band of the weights of lasagne layers as a function of the training epochs
  • use modes to either auto-select all trainable/the currently trainable/user-specified layers for plotting
  • adjust the range of the weights in the plots
  • TODO: enable the plotting of bias weights

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.