If you use view to move the channel dimension around, your image might end up corrupted. Try to visualize a single plane using your method and then again using permute, e.g. with matplotlib.
Regarding your zero outputs, could you try to lower your learning rate a bit and try it again?