#!/bin/bash # Retrieve training and test image sets from the web http://yann.lecun.com/exdb/mnist/ #wget --no-host-directories --cut-dirs=1 wget --directory-prefix=download --no-clobber \ http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz \ http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz \ http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz \ http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz gunzip --keep download/*