C1_W1 Lab Problem

Hello everyone, i’m trying to solve week1 lab but it says “There was a problem compiling the code from your notebook. Details: name ‘keras’ is not defined”. Since i can’t change import section i can’t import keras. How can i solve this problem? Thanks.

Please share the screenshot of your error only and not code.

Please refer this

I used tf.keras.layer already to define model but when i’m submitting my lab it says that:


Kindly share your notebook in personal DM. Click on my name and then message. Do not post any code in public post thread.