# C4W1 happymodel

**URL:** <https://dlai.staged-by-discourse.com/t/c4w1-happymodel/83181>\
**Category:** Convolutional Neural Networks\
**Tags:** coursera-platform\
**Created:** [January 5, 2022, 8:21pm UTC](https://dlai.staged-by-discourse.com/t/c4w1-happymodel/83181 "2022-01-05T20:21:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlaistaging/user_avatar/dlai.staged-by-discourse.com/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://dlai.staged-by-discourse.com/u/paulinpaloalto)\
**Post date:** [January 5, 2022, 10:48pm UTC](https://dlai.staged-by-discourse.com/t/c4w1-happymodel/83181/2 "2022-01-05T22:48:29Z")

</div>

Yes, when you get a syntax error at the beginning of a line, it usually means you left out something on the previous line. In this case, you are building a list of layers. For a list in python, the items need to be separated by commas, right?

Note that they don’t really give you a lot of help here learning how to use the Keras Sequential and Functional APIs. In the next section of this assignment, you’ll be using the Functional API and you _don’t_ want commas between the layers. [Here’s a thread](http://dlai.staged-by-discourse.com/t/tips-for-troubles-with-sequential-and-functional-api-syntax/52202) that’s a good way to get a more detailed introduction to these new APIs.

---

_[View the full topic](https://dlai.staged-by-discourse.com/t/c4w1-happymodel/83181)._
