Created
July 17, 2019 00:40
-
-
Save Hanrui-Wang/3b7b0d812f0036dc491bc7c73aff96f2 to your computer and use it in GitHub Desktop.
Plot image batch from pytorch tensor
This file contains hidden or 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
| grid = utils.make_grid(images_batch) | |
| plt.imshow(grid.numpy().transpose((1, 2, 0))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment