1

The question is with reference to How can I generate and display a grid of images in PyTorch with plt.imshow and torchvision.utils.make_grid?

0

When you say that the shape of the tensor after make_grid is torch.Size([3, 518, 1292]). What does it mean? Do all the images combine to make a tensor of size? I thought the make_grid tensor would be of shape

2562 by 2565 i.e. 3, 512, 1280

Also, why do we need to convert a tensor to numpy before plotting it? Thanks

0 Answers0