setting up for MNIST testing on AWS instance.