Week 1 Assignment 1 , happyModel

I implement my happyModel code but it give this error. " AttributeError: The layer has never been called and thus has no defined output shape. "

Using the Keras Sequential and Functional APIs takes some getting used to and they don’t give a lot of help in the course materials. Here’s a Discourse thread that gives some good introduction to this topic.

Or another good technique is just to enter your error message verbatim (with quotes) as a search string on Discourse and you’ll probably find some hits.

1 Like