Python/手写数字mnist数据集获取
如果使用tensorflow的话,是其自带的,通过以下方式可导入
from tensorflow
.keras
.datasets
import mnist
如本地没有导入后运行的过程中会自动下载,可能会因为某些原因下载失败,再尝试几次。 参考tensorflow官方github:https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/tutorials 其他的可直接下载的方式(相对麻烦): 下载并解压mnist数据集 MNIST数据集下载