Skip to content

Commit f96d56c

Browse files
author
Nitzan Orr
committed
Added line to actually display the image
1 parent c47c4d9 commit f96d56c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

beginner_source/blitz/cifar10_tutorial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def imshow(img):
9393
img = img / 2 + 0.5 # unnormalize
9494
npimg = img.numpy()
9595
plt.imshow(np.transpose(npimg, (1, 2, 0)))
96+
plt.show()
9697

9798

9899
# get some random training images

0 commit comments

Comments
 (0)