My code works perfectly fine and has a training accuracy of 99.5% when I run it, but when I submit it, it shows this error:
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’>.
Can anyone please tell me how to resolve it?