官网:https://github.com/zalandoresearch/fashion-mnist
一共四个文件(压缩后的)
‘train-labels-idx1-ubyte.gz’,
‘train-images-idx3-ubyte.gz’,
‘t10k-labels-idx1-ubyte.gz’,
‘t10k-images-idx3-ubyte.gz’
每个文件的数据格式如下:(解压后的)
t10k-images-idx3-ubyte
t10k-labels-idx1-ubyte
train-labels-idx1-ubyte
train-images-idx3-ubyte
总结如下:
1.magic number(大端),四个字节
2.数据大小(大端),四个字节
3.第一维度(如果有)
4.第二个维度大小(如果有)