Your screenshots are a bit hard to read and it’s better to post the code directly by wrapping it into three backticks ``` 
Did you call reshape or view in order to swap some axes of the image?
If looks like you are interleaving the image data.
Note that you should call x.permute(2, 0, 1) e.g. to change a [H, W, C] tensor to [C, H, W].