I tried to submit my solution to the system but always say the grader has error as followsDetails 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’>.
Training History
While I also checked the other topics that is similar, and used a different way to create the directories using for loop and list of animals (cats and dogs in this exercise), I always get the same error. Anyway can give me some hint on what is happening?
By the way, just notice, my code can train up to the required accuracy perfectly. Everything is just fine, I have zero clue on why I can’t pass the functions in code being graded.
Seems like the notebook metadata is missing. Please refresh your workspace and try again.
See Refresh your Lab Workspace
section here
If the grader still fails your submission, click my name and message your notebook as an attachment.
I sent you a message with the notebook already. Thanks for help. I tried to restart my computer and submit but not working.
This is not about restarting your computer. I saw your message and the attached notebook. The metadata for grader is missing in the notebook. Please get the latest version of the lab and try again.
What do you mean by newest version of the lab? I am using the Coursera website, they do mention that there was a update in April. But now is July, seems it is already the newest version?
Interesting , I saw that I passed the assignment of week 2 , where I submit in same way as week 1. I am more confused now. Is the week one so special and need meta data while week two does not need?
Every notebook that’s graded has certain metadata attached to it. It so happens that your week 1 notebook doesn’t have this metadata. I’ve seen just a few more face this. So, what happened after you refreshed your workspace and tried again?
hi , i have the same problem , can you tell me how to solve it ?
I tried to refresh the workspace but doesn’t work
I do not know for sure how to fix it. But I successfully submitted the second week’s assignment. So I just modify the script of second week’s assignment for the first week’s assignment.
I can not share the code, but you can work through second week and then try the first week again.