Hello everybody,
After submitting the week_1 assignment, the graded functions are assigned to zero with this description:
Details of failed tests for create_train_val_dirs
Failed test case: create_train_val_dirs has incorrect type.
Expected:
typing.Callable,
but got:
<class ‘NoneType’>.
Details of failed tests for split_data
Failed test case: split_data has incorrect type.
Expected:
typing.Callable,
but got:
<class ‘NoneType’>.
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_model
Failed test case: create_model has incorrect type.
Expected:
typing.Callable,
but got:
<class ‘NoneType’>.
Although these functions worked successfully with me and outputted the expected findings as it is shown in figures
Please see this link to learn about grader metadata.
Grader metadata is missing. So, refresh your workspace and try again.
See Refresh your Lab Workspace section here
If you’ve already done this, contact coursera help
Hi! So I’m using google Colab to complete my assignment for C2W1. I am having similar problem, my functions are working properly but the grader gave me 0 marks for the first file. I got 50 for the second one. I read your suggestions regarding what to do but i’m not seeing any of the options you mentioned. As soon as i click on the assignment link, it automatically takes me to colab where no above mentioned buttons are available or maybe i can’t see them. Please help me. Thanks.
@Mugheera_Saleem
Grader metadata is missing in your notebook.
See Refresh your Lab Workspace section here
If you’ve already done this, contact coursera help
Type “?forceRefresh=true” at the END of the URL of the lab which is causing this problem and press enter. This will refresh the lab with the metadata for the grader.
Open the lab using the link and do the same thing of copying “?forceRefresh=true” at the end of the URL, save it in your drive (I kept the name of the file similar to when it opened instead of “copy of the assignment”) and then write the code for the assignment.
Download the .ipynb file and upload it. You won’t have this problem hopefully. Thanks.
Ah yeah! I think you are refreshing the google colab link. You have to refresh the link of your assignment at courser. By that I mean the page of courser from where you are redirected to the google colab after clicking at the assignment notebook link. I hope u can understand what I’m saying.