DataLoader tensor expects each tensor to be equal size but got different sizes

Hello!
i am new to pytorch and an running a set of images using a DataLoader that has an image of dimension (3,1079,1001) paired with labels to this image of the same dimension.

The exact errors is:
RuntimeError: stack expects each tensor to be equal size, but got [3, 1079, 1001] at entry 0 and [3, 1078, 1150] at entry 1

on each of my images, I went through my data loader and ensured that my data loader is not altering my dimensions of my images, and that my image dimensions match my paired label dimensions.

I saw this post but am not sure if this applies

i am pretty certain that my images are not getting resized or getting padded and am pretty sure they are all matching dimesions.

any advice or suggestions to a new student here

thank you!