fashion mnist dataset python code example
Example: mnist fashion dataset
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']