I am getting an error pointing to some issue with a_slice_prev, however I don’t see what I did wrong:
a_slice_prev = a_prev_pad[i, vert_start:vert_end, horiz_start:horiz_end, :]
This should already be the right dimension assuming I did all the start/end indices right. Can someone provide some direction?
in conv_forward(A_prev, W, b, hparameters)
89
90 # Use the corners to define the (3D) slice of a_prev_pad (See Hint above the cell). (≈1 line)
—> 91 a_slice_prev = a_prev_pad[i, vert_start:vert_end, horiz_start:horiz_end, :]
92
93 # Convolve the (3D) slice with the correct filter W and bias b, to get back one output neuron. (≈3 line)
IndexError: too many indices for array