Is there an easy way to use PyTorch’s transforms on images/videos with more than 3 channels? Right now I have a video with the following shape
(60, 170, 128, 40) i.e. there are 60 frames in the video and each frame has 40 channels to it. It seems like PIL is unable to work with anything that has more than 3 channels.
I currently only need the center crop function and so can directly crop the numpy array but was just wondering if there is a way to use the torchvision transform functions on images that contain more than 3 channels or if I have to script everything.