Skip to content

Instantly share code, notes, and snippets.

@Hammaad-M
Hammaad-M / imageclassifier.py
Last active March 10, 2021 20:42
Source code from https://medium.com/@hammaad.memon "Creating an image-identifier from scratch with Tensorflow"
# get packages
import tensorflow as tf
import numpy as np
from tensorflow import keras
# Load predefined data set
fashion_mnist = keras.datasets.fashion_mnist
# get data from data set
(training_images, training_labels), (test_images, test_labels) = fashion_mnist.load_data()