This is amazing: I followed the instructions exactly. In fact, a lot of Python lines are already provided in the instructions. I re-verified them in my code. I got all dimensions setup correctly, and yet I have a mismatch. Well, it’s OK. No worries.
Is there any way I can send you my code via some kind of Direct Messaging? After all, this assignment is not graded anyway. Then you would give me some kind of a hint.
After looking at your code, I found mistakes in the following code:
vert_start =
vert_end =
horiz_start =
horiz_end =
You are adding h with stride and w with stride. So, for h = 0 and for w = 0, with stride = 2 you may be getting the wrong vert_start and horiz_start (it should be 0 for this case but according to your equation, it is 2). If you did the same for the Graded exercise, have you passed it? I don’t think so.
Oh! Thanks a lot. I made a typo in Exercise 5! My Exercise 3 was correct.
I was looking for a cause in another area of my code, and omitted this segment of my code.