Been following a few guides on Tensorflow and Keras, new to python, came from c++. Having an issue saying "load_model() missing 1 required positional argument: 'filepath'"
heres my code:
from keras.datasets import cifar10
import keras.utils as utils
from keras.models import load_model
import numpy as np
labelsArray = ["airplane","automobile","bird","cat","deer","dog","frog","horse","ship","truck"]
(_, _), (testImages, testLabels) = cifar10.load_data()
testImages = testImages.astype('float32') / 255.0
testLabels = utils.to_categorical(testLabels)
model = load_model(filepath='Image_Classifier.h5')
results = model.evaluate(x=testImages, y=testLabels)
print("Train loss:", results[0])
print("Test Accuracy:", results[1])