I load coco dataset then I use transform to resize images for creating dataloader. But I face 2 errors error 1 : RuntimeError: Trying to resize storage that is not resizable error 2 : RuntimeError: stack expects each tensor to be equal size, but got [3, 480, 640] at entry 0 and [3, 500, 500] at entry 1
I think resize transform can not be applied to images.
Does anybody know the reason?