Hi,
You can do it with matplotlib :
plt.imshow(MyTensor.permute(1, 2, 0).cpu().detach().numpy())

Or with PIL :
from torchvision import transforms
transforms.ToPILImage()(MyTensor).show()

In any case, I think your tensor needs to be 3xWidthxHeight