# C1\_W4 Assignment Problem

**URL:** <https://dlai.staged-by-discourse.com/t/c1-w4-assignment-problem/374203>\
**Category:** Browser-based Models with TensorFlow.js\
**Tags:** week-module-4\
**Created:** [July 5, 2023, 4:32am UTC](https://dlai.staged-by-discourse.com/t/c1-w4-assignment-problem/374203 "2023-07-05T04:32:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abin\_Bena](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@Abin\_Bena](https://dlai.staged-by-discourse.com/u/Abin_Bena)\
**Post date:** [July 5, 2023, 4:32am UTC](https://dlai.staged-by-discourse.com/t/c1-w4-assignment-problem/374203/1 "2023-07-05T04:32:58Z")

</div>

i"ve some problem with the layer dimension that says Can’t compile the student’s code. Error when checking input: expected flatten\_Flatten1\_input to have shape (7, 7, 256) but got array with shape (7, 7, 1024). Please help me out, thank you.

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlaistaging/user_avatar/dlai.staged-by-discourse.com/tmosh/32/9321_2.png) [@TMosh](https://dlai.staged-by-discourse.com/u/TMosh)\
**Post date:** [July 5, 2023, 4:46am UTC](https://dlai.staged-by-discourse.com/t/c1-w4-assignment-problem/374203/2 "2023-07-05T04:46:45Z")

</div>

Your code must work with any shape of data set. The grader uses different tests than the notebook.

---

<div class="post-metadata">

**Author:** ![Abin\_Bena](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@Abin\_Bena](https://dlai.staged-by-discourse.com/u/Abin_Bena)\
**Post date:** [July 5, 2023, 4:53am UTC](https://dlai.staged-by-discourse.com/t/c1-w4-assignment-problem/374203/3 "2023-07-05T04:53:14Z")

</div>

i was use the C1\_W4\_Assignment from the github that given, so can you please help me out

---

<div class="post-metadata">

**Author:** ![Deepti\_Prasad](https://sea1.discourse-cdn.com/dlaistaging/user_avatar/dlai.staged-by-discourse.com/deepti_prasad/32/178017_2.png) [@Deepti\_Prasad](https://dlai.staged-by-discourse.com/u/Deepti_Prasad)\
**Post date:** [August 22, 2023, 11:12am UTC](https://dlai.staged-by-discourse.com/t/c1-w4-assignment-problem/374203/4 "2023-08-22T11:12:16Z")

</div>

Hey

where you able to resolve your issue?

---

<div class="post-metadata">

**Author:** ![Honza\_Zbirovsky](https://sea1.discourse-cdn.com/dlaistaging/user_avatar/dlai.staged-by-discourse.com/honza_zbirovsky/32/72445_2.png) [@Honza\_Zbirovsky](https://dlai.staged-by-discourse.com/u/Honza_Zbirovsky)\
**Post date:** [August 26, 2023, 4:23am UTC](https://dlai.staged-by-discourse.com/t/c1-w4-assignment-problem/374203/5 "2023-08-26T04:23:01Z")

</div>

Hi @Abin_Bena.

Have a look [here](http://dlai.staged-by-discourse.com/t/c1-w4-assignment-failed/242644), I raised this topic already.  
BR

Honza
