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’>.
I dont know why my code is wrong. I looked for the directory and the output of code and it got the same as Expected output.
Correct me if Im wrong. Many thanks!
Hirwa
May 25, 2022, 6:34am
2
Hello @namhainguyen2803
Welcome here. Would you please send me a private message with your notebook to get through, so I can help out.
Thanks
Hi. Im newbie here, where is the private message…?
Hirwa
May 25, 2022, 2:02pm
4
Just click on my profile, then click message. Attach your notebook.
Hello @namhainguyen2803 , welcome to the community!
Please make sure you’re using the latest version of the assignment notebook , as old versions don’t include important metadata for grading which causes the error despite the code being right.
If this does not solve the problem, proceed with mr.@Hirwa for further assistance.
1 Like
Hi,
I am also getting the same error. How do you solve it ?
Hello @aryaprashant047 ,
Welcome to the Community!
Just few days ago I came across a similar case in a different week here : https://community.deeplearning.ai/t/c2w1-assignment-failed-test-case-has-incorrect-type/145649?u=nilosreesengupta .
The issue was not passing the test cases.
One has to be very specific with the code.
I would like to suggest you to go through the hints and the paragraphs thoroughly to pass the test cases.Specific criteria is written there.
If still you keep getting errors, post in Community, I or other mentors will surely help you.
With regards,
Nilosree Sengupta
1 Like