Hi @cesarcx
You need to ensure that the model has been called with some input data before you try to access the model’s layers’ outputs.
You can insert a dummy call to the model right after you define and compile it:
model(tf.keras.Input((28, 28, 1)))
Hope this helps! Feel free to ask if you need further assistance.