No, ToPILImage('RGB')– this did not work.
Size of my tensor–
torch.Size([3, 128, 128])
Could you also print the mode of your input image. In the for loop before the transform do a print(ak)
What here you are asking??. I am not getting the meaning of
mode of your input image