All functions have incorrect type (Nonetype)

Hi,

I am new to the community so not sure if I am allowed to post my code here?

All my functions seem to work fine within the notebook. However, I get this message from the grader:

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’>.

Hello @Lukas_Hamm ,

Welcome to the community !!

At first I would suggest you to go through these links under TF1 resources.

  1. assignment-troubleshooting-tips
  2. refresh-your-workspace-in-coursera-labs
  3. how-to-check-your-notebooks-metadata

Hope these will help.
If these do not, then let me know.

With regards,
Nilosree Sengupta

Thanks @nilosreesengupta , re-opening the notebook fresh from the coursera course page and pasting all functions from the old notebook resolved the issue.

Hello @Lukas_Hamm ,

You’re welcome!

With regards,
Nilosree Sengupta