# I am getting the errors in Assignment-1. I really cannot understand why this is happening. Please help

**URL:** <https://dlai.staged-by-discourse.com/t/i-am-getting-the-errors-in-assignment-1-i-really-cannot-understand-why-this-is-happening-please-help/280008>\
**Category:** Convolutional Neural Networks in TensorFlow\
**Tags:** week-module-1\
**Created:** [February 24, 2023, 10:34am UTC](https://dlai.staged-by-discourse.com/t/i-am-getting-the-errors-in-assignment-1-i-really-cannot-understand-why-this-is-happening-please-help/280008 "2023-02-24T10:34:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himanshu\_Pant](https://avatars.discourse-cdn.com/v4/letter/h/48db29/32.png) [@Himanshu\_Pant](https://dlai.staged-by-discourse.com/u/Himanshu_Pant)\
**Post date:** [February 24, 2023, 10:34am UTC](https://dlai.staged-by-discourse.com/t/i-am-getting-the-errors-in-assignment-1-i-really-cannot-understand-why-this-is-happening-please-help/280008/1 "2023-02-24T10:34:44Z")

</div>

[snippet deleted by mentor]

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

---

<div class="post-metadata">

**Author:** ![balaji.ambresh](https://sea1.discourse-cdn.com/dlaistaging/user_avatar/dlai.staged-by-discourse.com/balaji.ambresh/32/128697_2.png) [@balaji.ambresh](https://dlai.staged-by-discourse.com/u/balaji.ambresh)\
**Post date:** [February 24, 2023, 11:14am UTC](https://dlai.staged-by-discourse.com/t/i-am-getting-the-errors-in-assignment-1-i-really-cannot-understand-why-this-is-happening-please-help/280008/2 "2023-02-24T11:14:25Z")

</div>

[Grader metadata](http://dlai.staged-by-discourse.com/t/tf1-how-to-check-your-notebooks-metadata/181351) is missing. Please [refresh the workspace](http://dlai.staged-by-discourse.com/t/tf1-how-to-refresh-your-workspace-in-coursera-labs/180869) and try again.
