Mercurial > hg > autoencoder-specgram
comparison README.md @ 0:73317239d6d1
autoencoder-specgram first checkin
author | Dan Stowell <danstowell@users.sourceforge.net> |
---|---|
date | Fri, 08 Jan 2016 11:30:47 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:73317239d6d1 |
---|---|
1 | |
2 Spectrogram auto-encoder | |
3 (c) Dan Stowell 2016. | |
4 | |
5 | |
6 A simple example of an autoencoder set up for spectrograms, with two convolutional layers - thought of as one "encoding" layer and one "decoding" layer. | |
7 | |
8 It's meant to be a fairly minimal example of doing this in Theano, using the Lasagne framework to make things easier. | |
9 | |
10 By default it simply makes a training set from different chunks of the same single spectrogram (from the supplied wave file). This is not a good training set! | |
11 | |
12 Notable (potentially unusual) things about this implementation: | |
13 * Data is not pre-whitened, instead we use a custom layer (NormalisationLayer) to normalise the mean-and-variance of the data for us. This is because I want the spectrogram to be normalised when it is input but not normalised when it is output. | |
14 * It's a convolutional net but only along the time axis; along the frequency axis it's fully-connected. | |
15 * There's no maxpooling/downsampling. | |
16 | |
17 | |
18 SYSTEM REQUIREMENTS | |
19 =================== | |
20 | |
21 * Python | |
22 * Theano (NOTE: please check the Lasagne page for preferred Theano version) | |
23 * Lasagne https://github.com/Lasagne/Lasagne | |
24 * Matplotlib | |
25 * scikits.audiolab | |
26 | |
27 Tested on Ubuntu 14.04 with Python 2.7. | |
28 | |
29 USAGE | |
30 ===== | |
31 | |
32 python autoencoder-specgram.py | |
33 | |
34 It creates a "pdf" folder and puts plots in there (multi-page PDFs) as it goes along. | |
35 There's a "progress" pdf which gets repeatedly overwritten - you should see the output quality gradually getting better. | |
36 | |
37 Look in userconfig.py for configuration options. | |
38 |