retrieve_digit_database.bash 465 B

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