文件名称:MNIST-to-CSV:从http转换原始MNIST数据库
文件大小:10.97MB
文件格式:ZIP
更新时间:2024-06-03 01:54:42
JupyterNotebook
MNIST转换为CSV 只需先运行MNIST Convert.ipynb ,然后在MNIST Read Converted.ipynb笔记本中读取结果,就可以了。 如果您需要更多详细信息,下面介绍了核心步骤。 将原始MNIST手写数字数据库从转换为CSV格式的步骤 转换文件 1.使用数据库下载此仓库。 2.将原始Lecun文件转换为csv def convert(imgf, labelf, outf, n): f = open(imgf, "rb") o = open(outf, "w") l = open(labelf, "rb") f.read(16) l.read(8) images = [] for i in range(n): image = [ord(l.read(1))] for j
【文件预览】:
MNIST-to-CSV-master
----t10k-images-idx3-ubyte(7.48MB)
----MNIST Read Converted.ipynb(40KB)
----MNIST Convert.ipynb(3KB)
----train-labels-idx1-ubyte(59KB)
----t10k-labels-idx1-ubyte(10KB)
----README.md(2KB)
----.gitignore(65B)
----train-images-idx3-ubyte(44.86MB)