Formatting mp3 files to spectrograms for CNN machine learning
<p>I've had a lot of fun and have learned a lot from playing with the MNIST dataset but I want to branch out into working with my own training data, I'm using theano with keras. However I'm having an extremely difficult time conceptualizing how to create training data.</p>

<p>I looked over the structure of MNIST and saw that, as data, the first piece of it is the classification of what the image is, and the rest of it is the individual pixel brightness from 0 - 100. </p>

<p>My first thoughts are to use specotgrams like <a href="http://www.frank-zalkow.de/en/code-snippets/create-audio-spectrograms-with-python.html" rel="nofollow noreferrer">this</a> or <a href="https://stackoverflow.com/questions/1303307/fft-for-spectrograms-in-python">this</a> but what I'm not understanding is how to structure the data so that a CNN could read it. Any ideas or suggestions?  </p>