BTW: I did not use the transforms - the problem with this is that I need to convert it to tensor, then PIL and then tensor again(?) since the rest of the code expects a tensor.
I presume doing it manually is still the same?