C4W1A2ex3 - return error

The return function keeps reporting error. is there anything I could do to mix it?

================================================

ttributeError Traceback (most recent call last)
in
----> 1 conv_model = convolutional_model((64, 64, 3))
2 conv_model.compile(optimizer=‘adam’,
3 loss=‘categorical_crossentropy’,
4 metrics=[‘accuracy’])
5 conv_model.summary()

in convolutional_model(input_shape)
48
49 # YOUR CODE ENDS HERE
—> 50 model = tf.keras.Model(inputs=input_img, outputs=outputs)
51 # model = Model(inputs=input_img, outputs=outputs)
52 # model = outputs

================================================

Hi @Patrick_Lee,

Can you share your lab ID with me ? In the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.

I shall take a look.

When you reply back, kindly tag me in the post so that I’m notified.

Thanks,
Mubsi

Note that your post only includes part of the exception trace. We can’t actually see what the error message says and the exact line that triggered the exception.

thanks. I resolved. It is caused by the syntax issue in my code