pytorch make_grid (from torchvision.utils import make_grid) behaves different then I expect
trying to run the visualization utils tutorial from pytorch, I tried it with some images of dogs found on the internet. the images used in the tutorial are not distributed for use.. making the gris and showing the result behaves funny - it shows each channel as a separate image (I guess this is what I see)
so -  from the tutorial

but here is what I get from the images I got:

I was expecting to see the two images in their original colors in a grid.
Another step I tried following Ivan's comment:

tutorial: https://pytorch.org/vision/master/auto_examples/plot_visualization_utils.html
I would like to know how to fix this (and use make_grid correctly)

For the output you got, I would assume the correct shape is (height, width, channels) instead of (channels, height, width). You can correct this with torch.permute. The following should provide the desired result:
&gt;&gt;&gt; grid = make_grid(torch.stack([transformed_dog1, transformed_dog2]).permute(0,3,1,2))
&gt;&gt;&gt; show(grid)

