http://yann.lecun.com/exdb/mnist/ THE MNIST DATABASE of handwritten digitsYann LeCun, Courant Institute, NYUCorinna Cortes, Google Labs, New YorkChristopher J.C. Burges, Microsoft Research, Redmond The MNIST database of handwritten digits, available
MNIST(Mixed National Institute of Standards and Technology)http://yann.lecun.com/exdb/mnist/ ,入门级计算机视觉数据集,美国中学生手写数字.训练集6万张图片,测试集1万张图片.数字经过预处理.格式化,大小调整并居中,图片尺寸固定28x28.数据集小,训练速度快,收敛效果好. MNIST数据集,NIST数据集子集.4个文件.train-label-idx1-ubyte.gz 训练集标记文件(28881字节)
利用pytorch加载mnist数据集的代码如下 import torchvision import torchvision.transforms as transforms from torch.utils.data import DataLoader train_data = torchvision.datasets.MNIST( root='./mnist/', train=True, # this is training data transform=torchvision.transf