Skip to content

Instantly share code, notes, and snippets.

@rafalpronko rafalpronko/image_show Secret
Created Feb 11, 2019

Embed
What would you like to do?
def imshowPytorch(img):
npimg = img.numpy()
plt.imshow(np.transpose(npimg, (1, 2, 0)))
def imshowTensorFlow(img):
plt.imshow(img)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.