Solved by Nikronic in post #2 
              
              
                Hi, 
As there is no parameter in transforms.ToTensor() to control this behavior, the easiest and probably efficient way to solve this issue is to do what PyTorch have in its source code. 
 

As you can see, it permutes the channels, So, same code can be used to reverse the order. 
The reason that Py…