Error in Weekly assignment, in graded functions

I have uploaded the Jupyter Notebook for grading, but got the following error in the Graded Functions:

Details of failed tests for train_val_generators

Failed test case: train_val_generators has incorrect type.
Expected:
typing.Callable,
but got:
<class 'NoneType'>.


Details of failed tests for create_pre_trained_model

Failed test case: create_pre_trained_model has incorrect type.
Expected:
typing.Callable,
but got:
<class 'NoneType'>.


Details of failed tests for output_of_last_layer

Failed test case: output_of_last_layer has incorrect type.
Expected:
typing.Callable,
but got:
<class 'NoneType'>.


Details of failed tests for create_final_model

Failed test case: create_final_model has incorrect type.
Expected:
typing.Callable,
but got:
<class 'NoneType'>.

I really don’t have a clue of what’s going on, as the Notebook runs perfectly.

Please click my name and message your notebook as an attachment.

Notebook metadata is corrupt. Please refresh your workspace and try again.
See Refresh your Lab Workspace section here
If you’ve already done this, contact coursera help

I have contacted Coursera support staff. They replied this is caused due to a bug in the grader.
There is no definite timeline when this will be solved.
Is there any other way to get the grade for the assignment?

I’ve notified the staff to help with this. Someone should get in touch with you.

Hi David! Can you try pasting your solutions here then resubmit? This is just a blank notebook but with the metadata. It’s strange that those vanished in your notebook. If it still fails, please let us know. Thanks!

C2W3_Assignment_blank.ipynb (29.7 KB)

Hi Chris,

Thanks for the reply, I pasted the cell data in the new notebook and the grader worked perfectly!

1 Like

Awesome! Glad it worked!