C2_W3_Lab_1_transfer_learning.ipynb
[code removed - moderator]
after that below ,rather than creating a variable x and adding the layers to it, i am using the previous original way to add layers to the pretrained model
[code removed - moderator]
C2_W3_Lab_1_transfer_learning.ipynb
[code removed - moderator]
[code removed - moderator]
This line is the problem
layers.Flatten()(last_output),
Please don’t mix functional and sequential layer styles.
Sequential accepts a list of layers.
Functional style calls the current layer with previous layer as parameter.