Skip to content

Instantly share code, notes, and snippets.

@satishgunjal
Created October 17, 2020 07:57
Show Gist options
  • Save satishgunjal/e119e274f0c4a9d80c7676e5fb644afc to your computer and use it in GitHub Desktop.
Save satishgunjal/e119e274f0c4a9d80c7676e5fb644afc to your computer and use it in GitHub Desktop.
image plot
i = 49
plt.figure(figsize=(12,6))
plt.subplot(1,2,1)
plot_image(i, predictions_single[0], test_labels, test_images)
plt.subplot(1,2,2)
plot_value_array(i, predictions_single[0], test_labels)
_ = plt.xticks(range(10), class_names, rotation=45)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment