how to make a grid which contains grids, for example 25 images in the training set during meta learning,
how to plot 25 grids
grid___ = make_grid(T.view(out.size(0) * out.size(1), 1, out.size(2), out.size(3)))
print(“out size {}”.format(out.size()))
print(“grid size {}”.format(grid___.size()))
writer.add_image(“Conv2d_fw_1”, grid___, 0, dataformats=‘CHW’)
out size torch.Size([25, 64, 84, 84])
grid size torch.Size([3, 17202, 690])
currently I get one grid

Screenshot (184).png1920×1080 631 KB