I need to load some multi-bands images to the CNN via PyTorch.
Each image has more than ten channels.
So how to do the image transformation and augmentation? just like the normal RGB images, which can be processed by the package ‘torchvision.transforms’.
Is there some existed packages that can deal with multi-bands data?
If not, how to do the RandomCrop to each image? (every band of this image needs to be randomly cropped in the same location)