#!/usr/bin/env python

import mnist
import scipy.misc
import numpy as np

train_images = mnist.train_images()
train_labels = mnist.train_labels()

test_images = mnist.test_images()
test_labels = mnist.test_labels()

np.save('../dat/mnist_train_X', train_images)
np.save('../dat/mnist_train_y', train_labels)
np.save('../dat/mnist_test_X', test_images)
np.save('../dat/mnist_test_y', test_labels)
