FASHION-MNIST 图像分类实现(softmax regression)--Dive-into-DL-Pytorch
参照Dive-into-DL-Pytorch,可自行下载阅读。本文在pycharm 中编译,结果如图所示,准确率还需提升。导入模块import torchimport numpy as npimport d2lzh_pytorch as d2ld2lzh_pytorch是一个包,方便以后的调用,后面展示都有哪些函数。#batch_size设为2^nbatch_size = 256...