Created
December 10, 2018 10:15
-
-
Save qmaruf/51c20b4b1b98a2483d706fc5b5a5804e 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
def show_img_from_batch(batch): | |
img = transforms.ToPILImage()(batch[0]) | |
plt.figure() | |
plt.imshow(img) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment