Deep Learning Specialization: Week 2 Assignment 1 Grading issue

When submitting the assignment, All tests passed for all exercises

However when i submit for grading all exercises received 0/12

Please help?

What is the detailed feedback from the grader?

Guidance:
This can happen if your code only works for the test cases in the notebook, but doesn’t work for the tests that the grader uses.

The grader always uses different tests than are used in the notebook.

for exercise 2 and 3 i get the following error message

Failed test case: Exception: ufunc ‘isfinite’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’. Expected: None, but got: None. Failed test case: Exception: ufunc ‘isfinite’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’. Expected: None, but got: None.

Please post a screen capture image.

2 screenshots attached

Thanks.

Have you completed the entire assignment before submitting it for grading? Or have you tried to submit a partially completed notebook?

I’m more familiar with the Coursera version of this course, I have not had a chance to review the DL.AI Learning Platform version.

I’ll see if I have access, and then run a few tests.

Please check your personal messages for other instructions (in a few minutes).

I completed all exercises before submitting for grading

I can verify that if you submit your notebook for grading after you have only completed the “basic_sigmoid()” function, the grader will throw the error you observed.

Only send your notebook for grading once you have completed all of the exercises.

The reason is that any “None” statements left in the notebook will cause the grader to crash, and then it throws the exact same error message for all parts of the assignment.

We are just getting acquainted with how the graders work in the new DLAI learning platform version of the DLS courses. Sounds like they are more rigorous about checking things. In this case maybe we’ll need to look at your actual notebook. We can’t do that on a public thread, but I’ll send you a DM thread about how to proceed (and copy Tom as well).