create_model() is failing in the test with the this error…
TypeError: The added layer must be an instance of class Layer. Received: layer=<module ‘keras.api._v2.keras.layers’ from ‘/usr/local/lib/python3.8/dist-packages/keras/api/_v2/keras/layers/init.py’> of type <class ‘module’>.
I pulled out the model = tf.keras.models.Sequential([
<…>
])
And this line caused the error. I did model layers almost identical to slides(3 Convs/Pools, Flatten, 2 Dense). I had saved my code from a previous run that had worked(90% acc). But after retyping this code(don’t ask :o ). It doesn’t create the Seqential model. Almost wondering if there was a Colab environment change in the last two weeks. I can’t find my typing errors. But identical to slides. Thoughts on how to diagnose?