Skip to content

Instantly share code, notes, and snippets.

@lakshay-arora
Created February 26, 2020 07:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# get the prediction array
predictions = predictions['predictions']
# print the actual image and the predicted result
for i, prediction in enumerate(predictions):
print("Prediction: ",np.argmax(prediction))
show(i,test_images[i])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment