Skip to content

Instantly share code, notes, and snippets.

@satishgunjal
Created October 17, 2020 07:56
Show Gist options
  • Save satishgunjal/9b1ca88034f75216640c6dd3f269e5b0 to your computer and use it in GitHub Desktop.
Save satishgunjal/9b1ca88034f75216640c6dd3f269e5b0 to your computer and use it in GitHub Desktop.
probability_model
predictions_single = probability_model.predict(img)
# Remember that if we do "predictions = probability_model.predict(test_images)" then we get predictions for all test data"
print(f'Probabilty for all classes: {predictions_single}, \nBest confidence score for class: {np.argmax(predictions_single)}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment