# C1W1A2,Exercise 2 - convolutional\_model

**URL:** <https://community.deeplearning.ai/t/c1w1a2-exercise-2-convolutional-model/130031>\
**Category:** Convolutional Neural Networks\
**Tags:** coursera-platform\
**Created:** [May 21, 2022, 10:15am UTC](https://community.deeplearning.ai/t/c1w1a2-exercise-2-convolutional-model/130031 "2022-05-21T10:15:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhenlinhe](https://avatars.discourse-cdn.com/v4/letter/z/e19b73/32.png) [@zhenlinhe](https://community.deeplearning.ai/u/zhenlinhe)\
**Post date:** [May 21, 2022, 10:15am UTC](https://community.deeplearning.ai/t/c1w1a2-exercise-2-convolutional-model/130031/1 "2022-05-21T10:15:56Z")

</div>

after I finished my code I got error like this:  
 ![image](https://global.discourse-cdn.com/dlai/original/3X/e/8/e8bef0af3ebd17d14d5fedccf252788ae776bc67.png)  
and here is my code

[code removed - moderator]  
could somebody point the problem ? thx

---

<div class="post-metadata">

**Author:** ![balaji.ambresh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/balaji.ambresh/32/128697_2.png) [@balaji.ambresh](https://community.deeplearning.ai/u/balaji.ambresh)\
**Post date:** [May 21, 2022, 10:50am UTC](https://community.deeplearning.ai/t/c1w1a2-exercise-2-convolutional-model/130031/2 "2022-05-21T10:50:28Z")

</div>

When using the functional style of creating a model, don’t forget to call the function with the appropriate layer.  
Please read [this page](https://www.tensorflow.org/guide/keras/functional?hl=en)
