[Course 4][Week 1][Assignment 1] Exercise 3 - conv_forward

Hi again, this time I thought I had it figured out just fine but a shape issue came about.

When we built Z, we create a 4 dimensions array with shape (m, n_H, n_W, n_C) . If I print it:

image

So, after doing the whole thing, I get the following error:

Maybe its hard to find the mistake without the whole code, let me know if you guys need me to post it.
Thanks!

Hi @FrankAst,

Can you share your lab ID with me ? In the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.

I shall take a look.

When you reply back, kindly tag me in the post so that I’m notified.

Thanks,
Mubsi

1 Like

Hi @Mubsi, thanks for reaching out.
The lab id is: ffnvjcgc , hope you find the issue!

Hi @FrankAst,

The issue was in your logic of how you implemented the for loop. You can more in your notebook.

Happy learning,
Mubsi

1 Like

Thanks for the guidance @Mubsi, I will go over step by step and get it right :smiley: