https://github.com/zalandoresearch/fashion-mnist We need: t10k-images-idx3-ubyte.gz t10k-labels-idx1-ubyte.gz train-images-idx3-ubyte.gz train-labels-idx1-ubyte.gz Then gzip -d *.gz python convert.py