Skip to content

Instantly share code, notes, and snippets.

@rafalpronko
Created February 11, 2019 06:00
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 rafalpronko/7d2dbaf7f294eea435055b4f316a79df to your computer and use it in GitHub Desktop.
Save rafalpronko/7d2dbaf7f294eea435055b4f316a79df to your computer and use it in GitHub Desktop.
modeltf.save('modeltf.h5')
model_load_tf = tf.keras.models.load_model('modeltf.h5')
model_load_tf.summary()
test_loss, test_acc = model_load_tf.evaluate(test_images_tf, test_labels_tf)
print('Test accuracy:', test_acc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment