DLS course 4 CNN week 1 coding exercise 1 all test passed but only 75/100


I have a problem with the grading for my first coding task. All the tests are passed. but after I submitted, I only get “75/100 passed: Yes”. The grader program doesn’t say which part did not pass.

Is it because I did not do the optional part of work?

No it is because you have not passed some of our hidden tests. Send me your notebook as pdf and notebook format in a private message.

Conv_forward is wrong.

Your indexing is skipping a lot of values when computing the output volume.

You can check you solution against

Z's mean =
Z[0,2,1] =
 [-2.17796037  8.07171329 -0.5772704   3.36286738  4.48113645 -2.89198428
 10.99288867  3.03171932]
cache_conv[0][1][2][3] =
 [-1.1191154   1.9560789  -0.3264995  -1.34267579]

Hi Jonas,

Thanks for pointing out the problem! I just fixed it and now it is 100/100.



1 Like