Skip to content

Commit 6347d3a

Browse files
Sooodasvekars
andauthored
Add missing plt.show() statement (#2728)
Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
1 parent 9654fcc commit 6347d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/dcgan_faces_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
plt.axis("off")
266266
plt.title("Training Images")
267267
plt.imshow(np.transpose(vutils.make_grid(real_batch[0].to(device)[:64], padding=2, normalize=True).cpu(),(1,2,0)))
268-
268+
plt.show()
269269

270270

271271
######################################################################

0 commit comments

Comments
 (0)