Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created February 4, 2020 12:27
  • 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?
n = 5
plt.figure(figsize= (20,10))
for i in range(n):
ax = plt.subplot(2, n, i+1)
plt.imshow(val_x_px[i+20])
ax.get_xaxis().set_visible(False)
ax.get_yaxis().set_visible(False)
ax = plt.subplot(2, n, i+1+n)
plt.imshow(predictions[i+20])
ax.get_xaxis().set_visible(False)
ax.get_yaxis().set_visible(False)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment