add script downloading MNIST dataset

This commit is contained in:
Roman Grundkiewicz 2016-09-13 16:11:51 +02:00
parent c32e0a0600
commit 04658f3d45
2 changed files with 14 additions and 0 deletions

3
.gitignore vendored
View File

@ -36,3 +36,6 @@
# CMake files
build
# Examples
examples/*/*.gz

11
examples/mnist/Makefile Normal file
View File

@ -0,0 +1,11 @@
.PHONY: all clean download
all: download
download: train-images-idx3-ubyte.gz train-labels-idx1-ubyte.gz t10k-images-idx3-ubyte.gz t10k-labels-idx3-ubyte.gz
%.gz:
wget http://yann.lecun.com/exdb/mnist/$*.gz -O $@
clean:
rm -f *.gz