CNN Module 4 Week 2 Assignment 2 Transfer Learning with MobileNet

I am facing this error in the function alpaca_model(), where I am unable to debug it. Can anyone help me with that or anyone who has gone through that error

Hey, looks like you might not have stated your input shape when you were defining the input layer. Fixing that should fix this.

Input shape has been initialized to ‘image_shape + (3,)’ before, so what should I pass in the input_shape while defining the input layer. Currently, it is input_shape=None and it is being loaded as default.

I have passed input_shape parameter in the function and that has resolved my issue. Thanks for your help!

glad you were able to fix that, good luck for the rest of the assignment!