Created
February 4, 2020 12:27
-
-
Save prateekjoshi565/917ccf56c626f3c5a559dc39e20144d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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