marian/examples/mnist/Makefile
Roman Grundkiewicz d45f88af6d fix unpacking data
2016-09-13 18:20:44 +02:00

15 lines
285 B
Makefile

.PHONY: all clean download
all: download
download: train-images-idx3-ubyte train-labels-idx1-ubyte t10k-images-idx3-ubyte t10k-labels-idx1-ubyte
%-ubyte: %-ubyte.gz
gzip -d < $^ > $@
%-ubyte.gz:
wget http://yann.lecun.com/exdb/mnist/$*-ubyte.gz -O $@
clean:
rm -f *.gz *-ubyte