Does it make a difference if I input images to ResNet as (CxHxW) or (HxWxC)? In order to use Matplotlib imshow, it needs to be in HxWxC, so that is the format I am currently using. However, I introduced transforms to perform data augmentation, and that is returning imsages in CxHxW.
When using pretrained pytorch models, which layout is the best? Thanks!