NLP C3W3 Sequence Models

Hi Folks – I get the following error for every exercise for C3W3_Assignment in “NLP Specialization Siamese Networks”
“There was a problem compiling the code from your notebook. Details:\nname ‘model’ is not defined”
There is no use of a variable called “model” in the definition for siamese.
Here is a screenshot of the error:

Can anyone help me please? Thanks in advance!

Looks like you’re referring the variable named “model” before assigning any value to it.

1 Like