Please show us the grader feedback that you are getting, with “Show Grader Output” clicked.
The other question is whether you are sure that all the tests in the notebook have passed. There is no real point in submitting to the grader until you’ve passed all the “unit tests” in the notebook.
Thanks for your attention sir please firstly i noticed am not seeing “all test passed” after following the necessary instructions probably i would like to be guided if am missing something out as well @paulinpaloaito dtonhofer
It looks like you have an old version of this notebook or perhaps you have modified some parts of it that should not have been modified.
Are you taking this course through your University or directly from Coursera?
In the current version of this notebook, the two_layer_model function returns two return values. This is what the end of that function cell looks like in the current version of the course:
Also note just as a general matter that if you copied a solution from github, there is no guarantee that it will work: the course has been online for 8 years at this point and there have been a number of revisions. Just picking up some random version from the past is not a good idea. Of course it’s also against the rules, so I hope that is not the situation here.
It looks like you have a very old version of the notebook. I don’t know how that happened, but I think you need to get a clean copy of the notebook and then copy/paste over just your work from the “YOUR CODE HERE” sections and see where that gets you. Here are the instructions for getting a clean copy, which is a topic on the DLS FAQ Thread.