Hi,
I encounter the following error msg for happyModel function:
“AttributeError: The layer has never been called and thus has no defined output shape.”
I am not sure what did I do wrong. Below is the my code:
Many thanks
Hi,
I encounter the following error msg for happyModel function:
“AttributeError: The layer has never been called and thus has no defined output shape.”
I am not sure what did I do wrong. Below is the my code:
Many thanks
Hey, you’ll have to specify the input shape in the first layer you add for the Sequential model. Check the Specifying the input shape in advance" in the official tensorflow Sequential model guide.
Also, please delete your code when you’re able to solve the issue.
thanks! problem solved