From: Martin Pitt Date: Fri, 28 Aug 2020 04:46:51 +0000 (+0200) Subject: Add script to download MNIST digit database X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=6896c756f06ff0ca4a36d39e9ad901822d5c3d45;p=handwriting-recognition.git Add script to download MNIST digit database --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63847d8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/*-ubyte diff --git a/download-mnist.sh b/download-mnist.sh new file mode 100755 index 0000000..f68e1e2 --- /dev/null +++ b/download-mnist.sh @@ -0,0 +1,7 @@ +#!/bin/sh +set -eux +curl -O http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz +curl -O http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz +curl -O http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz +curl -O http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz +gunzip *ubyte.gz