Hello Pytorch community
I have a question about drawing/plotting a group of images tensors.
So if I had a combined tensor that has 5 different tensors (each time I add one by one to it using torch.cat((combined, Y))
)
And I want to plot it like one beside of each other (like one row of 5 columns)
What I tried is first to plot just one image in order just to see it but I had an error of TypeError: Invalid shape (8, 1, 28, 28) for image data
where [8, 1, 28, 28]
is the shape of one tensor image
And about plotting them all together, I thought of maybe using:
poly.subplots(something here)
make_grid(combined tensor or other things)
But still, I’m not fully convinced about how I can do it.
Any help please with that?