Hey, I’ve built and ran a model with the tutorial mnist dataset. Then i exported it and now I’m trying to load and predict new images in python. Later on trying on my Raspberry pi.
However, I’m not sure how to even run the exported model? Obviously I must be quite bad at googling since i can’t seem to find any answers.
from tensorflow import keras from keras.preprocessing.image import load_img from keras import * model = keras.models.load_model("B:\Exports\MnistTest") img = load_img('199.png') model.predict(img)
Getting lots of error doing it this way though. https://pastebin.com/70QD31VP