depends what you try to do. if you are on GPU or Torch in general with no need to plot the image - keep it in torch tensor. But when you want to actually see the image, a tensor will not be the sort of image you can plot. PIL can be plotted, and various other formats as well.