Skip to content

Instantly share code, notes, and snippets.

@um4ng-tiw
Created July 13, 2021 06:13
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 um4ng-tiw/7b415885f4179282b02a0ae2403e6ecd to your computer and use it in GitHub Desktop.
Save um4ng-tiw/7b415885f4179282b02a0ae2403e6ecd to your computer and use it in GitHub Desktop.
plt.figure(figsize = (20,20))
for i in range(5):
plt.subplot(5,5,i+1)
plt.imshow(x[i], cmap="binary")
plt.title('Original: {}, Predicted: {}'.format(actual_val[i], predictions[i]))
plt.axis('Off')
plt.subplots_adjust(left=1.5, right=2.5, top=1)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment