# Input 0 of layer "functional\_1" is incompatible with the layer: expected shape=(None, 64, 1), found shape=(256, 20)

**URL:** <https://community.deeplearning.ai/t/input-0-of-layer-functional-1-is-incompatible-with-the-layer-expected-shape-none-64-1-found-shape-256-20/881590>\
**Category:** Sequences, Time Series and Prediction\
**Tags:** week-module-4\
**Created:** [October 16, 2025, 6:44pm UTC](https://community.deeplearning.ai/t/input-0-of-layer-functional-1-is-incompatible-with-the-layer-expected-shape-none-64-1-found-shape-256-20/881590 "2025-10-16T18:44:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Om4AI](https://avatars.discourse-cdn.com/v4/letter/o/e9bcb4/32.png) [@Om4AI](https://community.deeplearning.ai/u/Om4AI)\
**Post date:** [October 16, 2025, 6:44pm UTC](https://community.deeplearning.ai/t/input-0-of-layer-functional-1-is-incompatible-with-the-layer-expected-shape-none-64-1-found-shape-256-20/881590/1 "2025-10-16T18:44:59Z")

</div>

I am currently on the final assignment in the week 4 of the final course of the TensorFlow developer specialization

In the notebook, I am using the following architecture -

[code removed by mentor]

The unittests are passing and it also shows that my model is compatible with the windowed dataset. I am also achieving the required values of MSE and MAE. But when I submit for grading it gives me the following error -

```auto
Failed test case: your model could not be used for prediction with a windowed dataset.
Expected:
No exceptions,
but got:
Input 0 of layer "functional_1" is incompatible with the layer: expected shape=(None, 64, 1), found shape=(256, 20).

```

Can someone help here ?

---

<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:** [October 16, 2025, 7:22pm UTC](https://community.deeplearning.ai/t/input-0-of-layer-functional-1-is-incompatible-with-the-layer-expected-shape-none-64-1-found-shape-256-20/881590/2 "2025-10-16T19:22:39Z")

</div>

To help me assist you,

Please click on my name to start a private message. Then, attach your notebook as a .ipynb file. Please note that mentors cannot access your Coursera Jupyter workspace, so sending the notebook in a .ipynb format is essential.
