From 6896c756f06ff0ca4a36d39e9ad901822d5c3d45 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 28 Aug 2020 06:46:51 +0200 Subject: [PATCH] Add script to download MNIST digit database --- .gitignore | 1 + download-mnist.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .gitignore create mode 100755 download-mnist.sh 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 -- 2.39.2