RuntimeError: equal size, but got [3, 128, 128] at entry 0 and [3, 390, 290]

RuntimeError: stack expects each tensor to be equal size, but got [3, 128, 128] at entry 0 and [3, 390, 290] at entry 7.
Can somebody help me out
My notebook link:

image

You don’t resize/crop your validation images.

I didn’t crop/resize my validation dataset
You can check my notebook

That’s what I just said :stuck_out_tongue:

Sorry :joy: :joy: :joy:
And thanks i’ve fixed it