My Regularization submission fails with nbgrader output:
[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W1A2/Regularization.ipynb'
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
I have looked in to all tips provided how to fix grader errors. I have also took a fresh notebook multiple times, applied the changes, and always got the same error.
My git diff showing what changes I have made to the original notebook:
[REDACTED] by request.
Any ideas what could be wrong? Tests pass when I run the notebook in the Coursera’s Jupyter environment.
Hey @tkasu,
Welcome to the community. It’s a little bit difficult to find out the exact issue using the output of git diff. Can you please instead download your notebook and DM it to me as an attachment? Please follow the instructions on this thread to download your notebook.
P.S. - Posting code publicly is against the community guidelines, so, please refrain from doing so.
Hey @tkasu,
In your implementation of forward_propagation_with_dropout, you have hard-coded the value of keep_prob as 0.7. As a result, it passed all the public tests, but was unable to pass the hidden tests. Use keep_prob instead of 0.7 throughout the function’s implementation, and make sure you haven’t hard-coded any other variables in any other functions in the assignment. Let me know if this helps.