Skip to content

Instantly share code, notes, and snippets.

@um4ng-tiw
Created July 8, 2021 13:57
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/91894305a479382263fa83106a28a169 to your computer and use it in GitHub Desktop.
Save um4ng-tiw/91894305a479382263fa83106a28a169 to your computer and use it in GitHub Desktop.
plt.figure(figsize = (20,20))
for i in range(10):
plt.subplot(5,5,i+1)
plt.imshow(x[i])
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