Course4_Week2_Assig2 (alpaca_model)


I am getting input image shape wrong after implemented in the base_model. If i insert all code, the image will be big… That is why, I just attached the print statements of my code{see below image}… and I am getting error , like… {ValueError: decode_predictions expects a batch of predictions (i.e. a 2D array of shape (samples, 1000)). Found array with shape: (None, 1280)

Thank you for your help


Your “prediction layer with one neuron” should be a Dense() layer.

Hello TMosh,

Thanks, It worked…