title: How to change a dataset of images to train-images-idx3-ubyte format
body: <p>I have 10000 images. I want to convert them to a format like 'train-images-idx3-ubyte'. This format comes from <a href="http://yann.lecun.com/exdb/mnist/" rel="nofollow">here</a>. I want them to use the deep learning methods described <a href="https://github.com/Newmu/Theano-Tutorials" rel="nofollow">here</a> </p>
  
  <p>I appreciate any help</p>