Skip to content

Instantly share code, notes, and snippets.

@jkmackie
Last active October 1, 2022 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkmackie/a8c9896d64be6961e3f3803a0a6f9c55 to your computer and use it in GitHub Desktop.
Save jkmackie/a8c9896d64be6961e3f3803a0a6f9c55 to your computer and use it in GitHub Desktop.
#Load test dataset for evaluation.
test_ds = tf.keras.utils.image_dataset_from_directory(
'./images/test',
labels='inferred',
seed=None,
image_size=(224, 224),
batch_size=32)
model.evaluate(test_ds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment