mnist_data

时间:2021-09-01 04:44:16
【文件属性】:

文件名称:mnist_data

文件大小:11.06MB

文件格式:ZIP

更新时间:2021-09-01 04:44:16

tensorflo

mnist = input_data.read_data_sets('解压之后的路径/压缩包文件夹名', one_hot=True) import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import input_data print('packs loaded') print('Download and Extract MNIST dataset') mnist = input_data.read_data_sets('data/MNIST_data', one_hot=True) print("type of 'mnist' is %s" % (type(mnist))) print('number of train data is %d' % (mnist.train.num_examples)) print("number of test data is %d" % (mnist.test.num_examples))


【文件预览】:
MNIST_data
----t10k-images-idx3-ubyte.gz(1.57MB)
----t10k-labels-idx1-ubyte.gz(4KB)
----train-images-idx3-ubyte.gz(9.45MB)
----readme.txt(501B)
----train-labels-idx1-ubyte.gz(28KB)

网友评论