📜  mnist 时尚数据集 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:33.496000             🧑  作者: Mango

代码示例1
import tensorflow as tf
from tensorflow.keras.datasets import fashion_mnist

link - https://github.com/zalandoresearch/fashion-mnist
#The data is already been sorted into traning and testing for us

(train_data, train_labels), (test_data, test_labels) = fashion_mnist.load_data()

#Create a small list so we can read the label as well
class_names = ['T-shirt/top', 'Trouser', 'Pullover', 'Dress', 'Coat', 'Sandle', 'Shirt', 'Sneaker', 'Bag', 'Ankle boot']