UnboundLocalError: local variable ‘model’ referenced before assignment
I’ve read through some of the documentation for keras and I guess I need to set the “model” object equal to something but is that not what the “model = tf.keras.Sequential([” does?
If you read the docs you may find that Sequential needs a list of layers as an argument. The code template already opens up the list for you, you just need to fill in the layer objects!
Are you saying that I need to tell the model the shape of the input? In the docs the examples have: model.add(keras.Input(shape=(250, 250, 3))) # 250x250 RGB images